<86>Nov 18 04:28:44 userdel[4153964]: delete user 'rooter' <86>Nov 18 04:28:44 userdel[4153964]: removed group 'rooter' owned by 'rooter' <86>Nov 18 04:28:44 userdel[4153964]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 18 04:28:44 groupadd[4153990]: group added to /etc/group: name=rooter, GID=1220 <86>Nov 18 04:28:44 groupadd[4153990]: group added to /etc/gshadow: name=rooter <86>Nov 18 04:28:44 groupadd[4153990]: new group: name=rooter, GID=1220 <86>Nov 18 04:28:44 useradd[4154019]: new user: name=rooter, UID=1220, GID=1220, home=/root, shell=/bin/bash, from=none <86>Nov 18 04:28:44 userdel[4154055]: delete user 'builder' <86>Nov 18 04:28:44 userdel[4154055]: removed group 'builder' owned by 'builder' <86>Nov 18 04:28:44 userdel[4154055]: removed shadow group 'builder' owned by 'builder' <86>Nov 18 04:28:44 groupadd[4154087]: group added to /etc/group: name=builder, GID=1221 <86>Nov 18 04:28:44 groupadd[4154087]: group added to /etc/gshadow: name=builder <86>Nov 18 04:28:44 groupadd[4154087]: new group: name=builder, GID=1221 <86>Nov 18 04:28:44 useradd[4154118]: new user: name=builder, UID=1221, GID=1221, home=/usr/src, shell=/bin/bash, from=none <13>Nov 18 04:28:50 rpmi: sgml-common-0.6.3-alt15 sisyphus+276099.100.1.1 1624817971 installed <13>Nov 18 04:28:50 rpmi: libmnl-1.0.5-alt1 sisyphus+297929.100.1.1 1649216349 installed <13>Nov 18 04:28:50 rpmi: libxslt-1.1.37-alt1 sisyphus+307481.100.1.1 1664360525 installed <13>Nov 18 04:28:50 rpmi: xml-utils-1:2.10.4-alt1 sisyphus+311250.4140.175.1 1685629210 installed <13>Nov 18 04:28:50 rpmi: docbook-dtds-4.5-alt1 sisyphus+276837.100.1.1 1625242123 installed <13>Nov 18 04:28:50 rpmi: libp11-kit-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063204 installed <13>Nov 18 04:28:50 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Nov 18 04:28:50 rpmi: docbook-style-xsl-1.79.1-alt4 sisyphus+232871.100.1.1 1561238010 installed <13>Nov 18 04:28:50 rpmi: xsltproc-1.1.37-alt1 sisyphus+307481.100.1.1 1664360525 installed <13>Nov 18 04:28:50 rpmi: libnetlink-5.17.0-alt2 sisyphus+299032.100.1.1 1650957328 installed <13>Nov 18 04:28:50 rpmi: ppp-common-0.5.1-alt1 sisyphus+276789.100.1.1 1625233524 installed <86>Nov 18 04:28:50 groupadd[4158952]: group added to /etc/group: name=crontab, GID=999 <86>Nov 18 04:28:50 groupadd[4158952]: group added to /etc/gshadow: name=crontab <86>Nov 18 04:28:50 groupadd[4158952]: new group: name=crontab, GID=999 <13>Nov 18 04:28:50 rpmi: crontab-control-1.1-alt1 sisyphus+276802.100.1.1 1625236144 installed <13>Nov 18 04:28:50 rpmi: setproctitle-0.3.2-alt3 sisyphus+278100.6300.1.1 1626061075 installed <13>Nov 18 04:28:50 rpmi: vixie-cron-4.1.20060426-alt10.3 sisyphus+302849.200.2.1 1656579734 installed <13>Nov 18 04:28:50 rpmi: crontabs-1.8-alt1 sisyphus+276803.100.1.1 1625236331 installed <13>Nov 18 04:28:50 rpmi: logrotate-3.20.1-alt2 sisyphus+321776.100.2.1 1684960311 installed <13>Nov 18 04:28:50 rpmi: rpm-macros-info-install-7.0.3-alt1 sisyphus+328983.600.11.1 1695045529 installed <13>Nov 18 04:28:50 rpmi: perl-Unicode-Normalize-1:5.34.1-alt1 sisyphus+303178.100.1.1 1656953649 installed <13>Nov 18 04:28:50 rpmi: perl-Unicode-EastAsianWidth-12.0-alt1 sisyphus+237401.100.1.1 1568197363 installed <13>Nov 18 04:28:50 rpmi: perl-Text-Unidecode-1.30-alt1 1480505027 installed <13>Nov 18 04:28:50 rpmi: perl-Pod-Escapes-1.07-alt1 1418767892 installed <13>Nov 18 04:28:50 rpmi: perl-Filter-1.64-alt1 sisyphus+305464.100.1.1 1660815328 installed <13>Nov 18 04:28:50 rpmi: perl-Encode-3.19-alt1 sisyphus+304776.100.1.1 1659623414 installed <13>Nov 18 04:28:50 rpmi: perl-libintl-1.33-alt1.1 sisyphus+312319.100.1.1 1671854215 installed <13>Nov 18 04:28:50 rpmi: perl-Pod-Simple-3.45-alt1 sisyphus+321554.100.1.1 1684663135 installed <13>Nov 18 04:28:50 rpmi: libsqlite3-3.42.0-alt1 sisyphus+321513.100.1.1 1684603061 installed <13>Nov 18 04:28:50 rpmi: strace-6.6-alt1 sisyphus+333222.100.1.1 1698748075 installed <13>Nov 18 04:28:50 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791089 installed <13>Nov 18 04:28:50 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Nov 18 04:28:50 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Nov 18 04:28:50 rpmi: libgmp-devel-6.3.0-alt1 sisyphus+328118.100.2.1 1693294140 installed <13>Nov 18 04:28:50 rpmi: libgpg-error-devel-1.47-alt1 sisyphus+327218.100.1.1 1692093769 installed <13>Nov 18 04:28:50 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Nov 18 04:28:51 rpmi: libsystemd-1:254.5-alt1.2 sisyphus+331053.100.1.1 1696514800 installed <13>Nov 18 04:28:51 rpmi: libdbus-1.14.10-alt1 sisyphus+328676.100.1.1 1693833782 installed <13>Nov 18 04:28:51 rpmi: libpcap0.8-2:1.10.4-alt1 sisyphus+322910.100.5.1 1687282815 installed <13>Nov 18 04:28:51 rpmi: libiptables-1.8.7-alt1 sisyphus+278100.2500.1.1 1626059429 installed <13>Nov 18 04:28:51 rpmi: libatm-2.5.1-alt7 sisyphus+304697.100.1.1 1659517187 installed <13>Nov 18 04:28:51 rpmi: libOpenSP-1.5.2-alt3.qa1 sisyphus+277622.100.1.1 1625720865 installed <13>Nov 18 04:28:51 rpmi: openjade-1.3.2-alt15 sisyphus+277596.100.1.1 1625712298 installed <13>Nov 18 04:28:51 rpmi: docbook-style-dsssl-1.79-alt3 sisyphus+276057.100.1.1 1624814788 installed <13>Nov 18 04:28:51 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Nov 18 04:28:51 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Nov 18 04:28:51 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Nov 18 04:28:51 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Nov 18 04:28:51 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Nov 18 04:28:51 rpmi: libstdc++13-devel-13.2.1-alt2 sisyphus+327572.100.1.1 1692472364 installed <13>Nov 18 04:28:52 rpmi: gcc13-c++-13.2.1-alt2 sisyphus+327572.100.1.1 1692472364 installed <13>Nov 18 04:28:52 rpmi: libdevmapper-1.02.196-alt1 sisyphus+328928.400.3.1 1694103939 installed <13>Nov 18 04:28:52 rpmi: mount-2.39.2-alt1 sisyphus+329530.100.1.1 1694630203 installed <13>Nov 18 04:28:52 rpmi: losetup-2.39.2-alt1 sisyphus+329530.100.1.1 1694630203 installed <13>Nov 18 04:28:52 rpmi: lsblk-2.39.2-alt1 sisyphus+329530.100.1.1 1694630203 installed <13>Nov 18 04:28:52 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 18 04:28:52 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 18 04:28:52 rpmi: ca-certificates-2023.07.31-alt1 sisyphus+326137.200.1.1 1690809798 installed <13>Nov 18 04:28:52 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Nov 18 04:28:53 rpmi: p11-kit-trust-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063204 installed <13>Nov 18 04:28:53 rpmi: libcrypto3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed <13>Nov 18 04:28:53 rpmi: libssl3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed <13>Nov 18 04:28:53 rpmi: python3-3.11.6-alt1 sisyphus+331220.100.1.1 1696668078 installed <13>Nov 18 04:28:54 rpmi: python3-base-3.11.6-alt1 sisyphus+331220.100.1.1 1696668078 installed <13>Nov 18 04:28:54 rpmi: python3-module-six-1.16.0-alt2 sisyphus+324249.100.1.1 1688484676 installed <13>Nov 18 04:28:54 rpmi: libkmod-31-alt1 sisyphus+330699.100.1.1 1696072426 installed <13>Nov 18 04:28:54 rpmi: kmod-31-alt1 sisyphus+330699.100.1.1 1696072426 installed <13>Nov 18 04:28:54 rpmi: dmsetup-1.02.196-alt1 sisyphus+328928.400.3.1 1694103939 installed <86>Nov 18 04:28:54 groupadd[4160631]: group added to /etc/group: name=tape, GID=998 <86>Nov 18 04:28:54 groupadd[4160631]: group added to /etc/gshadow: name=tape <86>Nov 18 04:28:54 groupadd[4160631]: new group: name=tape, GID=998 <86>Nov 18 04:28:54 groupadd[4160641]: group added to /etc/group: name=dialout, GID=997 <86>Nov 18 04:28:54 groupadd[4160641]: group added to /etc/gshadow: name=dialout <86>Nov 18 04:28:54 groupadd[4160641]: new group: name=dialout, GID=997 <86>Nov 18 04:28:54 groupadd[4160657]: group added to /etc/group: name=input, GID=996 <86>Nov 18 04:28:54 groupadd[4160657]: group added to /etc/gshadow: name=input <86>Nov 18 04:28:54 groupadd[4160657]: new group: name=input, GID=996 <86>Nov 18 04:28:54 groupadd[4160673]: group added to /etc/group: name=video, GID=995 <86>Nov 18 04:28:54 groupadd[4160673]: group added to /etc/gshadow: name=video <86>Nov 18 04:28:54 groupadd[4160673]: new group: name=video, GID=995 <86>Nov 18 04:28:54 groupadd[4160687]: group added to /etc/group: name=render, GID=994 <86>Nov 18 04:28:54 groupadd[4160687]: group added to /etc/gshadow: name=render <86>Nov 18 04:28:54 groupadd[4160687]: new group: name=render, GID=994 <86>Nov 18 04:28:54 groupadd[4160694]: group added to /etc/group: name=sgx, GID=993 <86>Nov 18 04:28:54 groupadd[4160694]: group added to /etc/gshadow: name=sgx <86>Nov 18 04:28:54 groupadd[4160694]: new group: name=sgx, GID=993 <13>Nov 18 04:28:54 rpmi: udev-1:254.5-alt1.2 sisyphus+331053.100.1.1 1696514800 installed <13>Nov 18 04:28:55 rpmi: python3-module-genshi-0.7.7-alt1 sisyphus+311250.13200.175.1 1685632570 installed <13>Nov 18 04:28:55 rpmi: python3-module-cssselect-1.2.0-alt1 sisyphus+317931.100.1.1 1680503903 installed <13>Nov 18 04:28:55 rpmi: python3-module-webencodings-0.5.1-alt2 sisyphus+276020.100.1.1 1624812421 installed <13>Nov 18 04:28:55 rpmi: python3-module-html5lib-1:1.1-alt1 sisyphus+278096.120.5.1 1626086978 installed <13>Nov 18 04:28:55 rpmi: python3-module-lxml-4.9.3-alt1 sisyphus+329615.100.1.1 1694745803 installed <13>Nov 18 04:28:55 rpmi: python3-module-Pygments-2.16.1-alt1 sisyphus+326610.100.1.1 1691406169 installed <13>Nov 18 04:28:55 rpmi: libsofthsm-2.6.1-alt2 sisyphus+325083.40.4.1 1689626020 installed <86>Nov 18 04:28:55 groupadd[4161073]: group added to /etc/group: name=ods, GID=992 <86>Nov 18 04:28:55 groupadd[4161073]: group added to /etc/gshadow: name=ods <86>Nov 18 04:28:55 groupadd[4161073]: new group: name=ods, GID=992 <86>Nov 18 04:28:55 useradd[4161080]: new user: name=ods, UID=999, GID=992, home=/var/lib/softhsm, shell=/sbin/nologin, from=none <13>Nov 18 04:28:55 rpmi: softhsm-2.6.1-alt2 sisyphus+325083.40.4.1 1689626020 installed <13>Nov 18 04:28:55 rpmi: gtk-doc-1.33.2-alt1.1 sisyphus+283111.200.2.1 1629197210 installed <13>Nov 18 04:28:55 rpmi: ppp-2.5.0-alt1 sisyphus+326443.100.10.1 1691593688 installed <13>Nov 18 04:28:55 rpmi: libssl-devel-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed <13>Nov 18 04:28:55 rpmi: openssl-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed <13>Nov 18 04:28:55 rpmi: socat-1.7.4.4-alt1 sisyphus+330215.600.3.1 1695490297 installed <13>Nov 18 04:28:55 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687268227 installed <13>Nov 18 04:28:55 rpmi: iproute2-5.17.0-alt2 sisyphus+299032.100.1.1 1650957328 installed <13>Nov 18 04:28:55 rpmi: libgcrypt-devel-1.10.2-alt2 sisyphus+330867.100.1.1 1696329261 installed <13>Nov 18 04:28:55 rpmi: libnettle-devel-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Nov 18 04:28:55 rpmi: libidn2-devel-2.3.4-alt1 sisyphus+309023.100.1.1 1666791089 installed <13>Nov 18 04:28:55 rpmi: libseccomp-devel-2.5.4-alt3 sisyphus+317520.100.1.1 1679883174 installed <13>Nov 18 04:28:56 rpmi: makeinfo-7.0.3-alt1 sisyphus+328983.600.11.1 1695045581 installed <13>Nov 18 04:28:56 rpmi: libtasn1-devel-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Nov 18 04:28:56 rpmi: libp11-kit-devel-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063204 installed <13>Nov 18 04:28:56 rpmi: zlib-devel-1.2.13-alt1 sisyphus+309409.200.2.1 1667402045 installed <13>Nov 18 04:28:56 rpmi: libunistring-devel-0.9.10-alt1 sisyphus+278158.700.1.1 1626050720 installed <13>Nov 18 04:28:56 rpmi: libreadline-devel-8.2.1-alt1 sisyphus+328858.100.1.1 1694010631 installed <13>Nov 18 04:28:56 rpmi: faketime-0.2.8-alt1 sisyphus+299031.300.6.1 1651137105 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/gnutls30-3.8.1-alt2.nosrc.rpm (w1.gzdio) Installing gnutls30-3.8.1-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.834 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf gnutls-3.8.1 + echo 'Source #0 (gnutls-3.8.1.tar):' Source #0 (gnutls-3.8.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/gnutls-3.8.1.tar + cd gnutls-3.8.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #3 (Fix-privkey-verify-broken-test.patch):' Patch #3 (Fix-privkey-verify-broken-test.patch): + /usr/bin/patch -p2 patching file tests/privkey-verify-broken.c Hunk #1 succeeded at 68 with fuzz 2 (offset 6 lines). + echo 'Patch #8 (fix-32bit-LTS.patch):' Patch #8 (fix-32bit-LTS.patch): + /usr/bin/patch -p1 patching file lib/inih/ini.c + echo 'Patch #10 (tests-Don-t-use-lscpu.patch):' Patch #10 (tests-Don-t-use-lscpu.patch): + /usr/bin/patch -p1 patching file tests/scripts/common.sh Hunk #1 succeeded at 109 (offset -15 lines). Hunk #2 succeeded at 130 (offset -15 lines). patching file tests/slow/test-ciphers-common.sh Hunk #1 succeeded at 76 (offset -1 lines). patching file tests/slow/test-hash-large.sh + echo 'Patch #11 (tests-Fix-work-with-ALT-faketime.patch):' Patch #11 (tests-Fix-work-with-ALT-faketime.patch): + /usr/bin/patch -p2 patching file configure.ac patching file tests/cert-reencoding.sh patching file tests/ocsp-tests/ocsp-must-staple-connection.sh patching file tests/ocsp-tests/ocsp-tls-connection.sh + echo 'Patch #100 (Move-the-GNUTLS_NO_EXTENSIONS-compatibility-define-t.patch):' Patch #100 (Move-the-GNUTLS_NO_EXTENSIONS-compatibility-define-t.patch): + /usr/bin/patch -p1 patching file lib/ext/ext_master_secret.h patching file lib/includes/gnutls/gnutls.h.in patching file lib/state.h + touch doc/abstract-api.texi doc/alerts.texi doc/algorithms.texi doc/certtool-examples.texi doc/certtool-files.texi doc/certtool-see-also.texi doc/cha-auth.texi doc/cha-bib.texi doc/cha-cert-auth.texi doc/cha-cert-auth2.texi doc/cha-ciphersuites.texi doc/cha-config.texi doc/cha-copying.texi doc/cha-crypto.texi doc/cha-errors.texi doc/cha-functions.texi doc/cha-gtls-app.texi doc/cha-gtls-examples.texi doc/cha-internals.texi doc/cha-intro-tls.texi doc/cha-library.texi doc/cha-preface.texi doc/cha-programs.texi doc/cha-shared-key.texi doc/cha-support.texi doc/cha-tokens.texi doc/cha-upgrade.texi doc/compat-api.texi doc/crypto-api.texi doc/dane-api.texi doc/danetool-examples.texi doc/danetool-see-also.texi doc/dtls-api.texi doc/enums.texi doc/error_codes.texi doc/fdl-1.3.texi doc/gnutls-api.texi doc/gnutls-cli-debug-examples.texi doc/gnutls-cli-debug-see-also.texi doc/gnutls-cli-examples.texi doc/gnutls-cli-see-also.texi doc/gnutls-serv-examples.texi doc/gnutls-serv-see-also.texi doc/gnutls.texi doc/invoke-certtool.texi doc/invoke-danetool.texi doc/invoke-gnutls-cli-debug.texi doc/invoke-gnutls-cli.texi doc/invoke-gnutls-serv.texi doc/invoke-ocsptool.texi doc/invoke-p11tool.texi doc/invoke-psktool.texi doc/invoke-srptool.texi doc/invoke-tpmtool.texi doc/ocsp-api.texi doc/ocsptool-description.texi doc/ocsptool-examples.texi doc/ocsptool-see-also.texi doc/p11tool-examples.texi doc/p11tool-see-also.texi doc/pkcs11-api.texi doc/pkcs12-api.texi doc/pkcs7-api.texi doc/psktool-examples.texi doc/psktool-see-also.texi doc/sec-tls-app.texi doc/socket-api.texi doc/srptool-examples.texi doc/srptool-see-also.texi doc/tpm-api.texi doc/tpmtool-examples.texi doc/tpmtool-see-also.texi doc/version.texi doc/x509-api.texi + rm doc/gnutls.info doc/gnutls.info-1 doc/gnutls.info-2 doc/gnutls.info-3 doc/gnutls.info-4 doc/gnutls.info-5 doc/gnutls.info-6 doc/gnutls.info-7 + rm aclocal.m4 m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4 + sed -i 's/^\(test_[^ +=]\+\)_LDADD.*@LIBMULTITHREAD@.*/&\n\1_LDFLAGS = -Wl,--no-as-needed/' src/gl/tests/Makefile.am src/gl/tests/Makefile.in + sed -i -r 's/^DOMAIN = [^[:blank:]#]+/&30/' po/Makevars + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.99813 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd gnutls-3.8.1 + autoreconf -fisv autoreconf-default: export WARNINGS= autoreconf-default: Entering directory '.' autoreconf-default: running: autopoint --force autopoint: using AM_GNU_GETTEXT_REQUIRE_VERSION instead of AM_GNU_GETTEXT_VERSION Copying file build-aux/config.rpath Copying file po/Makevars.template autoreconf-default: running: aclocal --force -I m4 -I src/gl/m4 -I lib/unistring/m4 --install aclocal-default: installing 'm4/libtool.m4' from '/usr/share/libtool/aclocal/libtool.m4' aclocal-default: installing 'm4/ltoptions.m4' from '/usr/share/libtool/aclocal/ltoptions.m4' aclocal-default: installing 'm4/ltsugar.m4' from '/usr/share/libtool/aclocal/ltsugar.m4' aclocal-default: installing 'm4/ltversion.m4' from '/usr/share/libtool/aclocal/ltversion.m4' aclocal-default: installing 'm4/lt~obsolete.m4' from '/usr/share/libtool/aclocal/lt~obsolete.m4' aclocal-default: overwriting 'm4/pkg.m4' with '/usr/share/aclocal/pkg.m4' autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize-default: linking file 'build-aux/config.guess' libtoolize-default: linking file 'build-aux/config.sub' libtoolize-default: linking file 'build-aux/install-sh' libtoolize-default: linking file 'build-aux/ltmain.sh' libtoolize-default: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize-default: linking file 'm4/libtool.m4' libtoolize-default: linking file 'm4/ltoptions.m4' libtoolize-default: linking file 'm4/ltsugar.m4' libtoolize-default: linking file 'm4/ltversion.m4' libtoolize-default: linking file 'm4/lt~obsolete.m4' autoreconf-default: configure.ac: not using Intltool autoreconf-default: running: gtkdocize grep: warning: stray \ before , grep: warning: stray \ before white space autoreconf-default: running: aclocal --force -I m4 -I src/gl/m4 -I lib/unistring/m4 --install autoreconf-default: running: /usr/bin/autoconf-2.71 --force configure.ac:55: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:55: You should run autoupdate. ./lib/autoconf/c.m4:1695: AC_PROG_CC_C99 is expanded from... configure.ac:55: the top level configure.ac:137: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:137: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:137: the top level configure.ac:374: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:374: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... m4/hooks.m4:34: LIBGNUTLS_HOOKS is expanded from... configure.ac:374: the top level autoreconf-default: running: /usr/bin/autoheader-2.71 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:39: installing 'build-aux/compile' configure.ac:29: installing 'build-aux/missing' aminclude_static.am:52: warning: if $(CODE_COVERAGE_BRANCH_COVERAGE: non-POSIX variable name aminclude_static.am:52: (probably a GNU make extension) Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:59: warning: if $(CODE_COVERAGE_BRANCH_COVERAGE: non-POSIX variable name aminclude_static.am:59: (probably a GNU make extension) Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:63: warning: ':='-style assignments are not portable Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:64: warning: code_coverage_v_lcov_cap_$(V: non-POSIX recursive variable expansion Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:65: warning: code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:67: warning: code_coverage_v_lcov_ign_$(V: non-POSIX recursive variable expansion Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:68: warning: code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:70: warning: code_coverage_v_genhtml_$(V: non-POSIX recursive variable expansion Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:71: warning: code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:73: warning: code_coverage_quiet_$(V: non-POSIX recursive variable expansion Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:74: warning: code_coverage_quiet_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:78: warning: subst -,_,$(subst .,_,$(1: non-POSIX variable name aminclude_static.am:78: (probably a GNU make extension) Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:87: warning: addprefix --directory ,$(CODE_COVERAGE_DIRECTORY: non-POSIX variable name aminclude_static.am:87: (probably a GNU make extension) Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:87: warning: call code_coverage_sanitize,$(PACKAGE_NAME: non-POSIX variable name aminclude_static.am:87: (probably a GNU make extension) Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:88: warning: addprefix --directory ,$(CODE_COVERAGE_DIRECTORY: non-POSIX variable name aminclude_static.am:88: (probably a GNU make extension) Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:90: warning: addprefix --prefix ,$(CODE_COVERAGE_DIRECTORY: non-POSIX variable name aminclude_static.am:90: (probably a GNU make extension) Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:100: warning: ':='-style assignments are not portable Makefile.am:167: 'aminclude_static.am' included from here aminclude_static.am:100: warning: AM_DISTCHECK_CONFIGURE_FLAGS was already defined in condition TRUE, which includes condition CODE_COVERAGE_ENABLED ... Makefile.am:167: 'aminclude_static.am' included from here Makefile.am:21: ... 'AM_DISTCHECK_CONFIGURE_FLAGS' previously defined here doc/Makefile.am: installing 'build-aux/depcomp' autoreconf-default: Leaving directory '.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_prog_cc_static_works=no + lt_cv_prog_cc_static_works=no + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --disable-rpath --disable-static --disable-silent-rules --disable-libdane --without-tpm --with-default-trust-store-file=/usr/share/ca-certificates/ca-bundle.crt --with-included-libtasn1=no --enable-openssl-compatibility --docdir=/usr/share/doc/gnutls-3.8.1/ configure: WARNING: unrecognized options: --without-included-gettext checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes *** *** Checking for compilation programs... checking for i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for i586-alt-linux-gcc... i586-alt-linux-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to enable C11 features... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking whether the compiler is clang... no checking for compiler option needed when checking for declarations... none checking whether make supports the include directive... yes (GNU style) checking dependency style of i586-alt-linux-gcc... none 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 wchar.h... yes checking for minix/config.h... no checking for sys/socket.h... yes checking for arpa/inet.h... yes checking for features.h... yes checking for sys/param.h... yes checking for sys/time.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for limits.h... yes checking for threads.h... yes checking for sys/mman.h... yes checking for stdbool.h... yes checking for stdckdint.h... no checking for sys/uio.h... yes checking for crtdefs.h... no checking for error.h... yes checking for stdio_ext.h... yes checking for termios.h... yes checking for sys/select.h... yes checking for langinfo.h... yes checking for xlocale.h... no checking for semaphore.h... yes checking for sys/wait.h... yes checking for pthread.h... yes checking for sys/cdefs.h... yes checking for sys/ioctl.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for Minix Amsterdam compiler... no checking for i586-alt-linux-ar... no checking for i586-alt-linux-lib... no checking for i586-alt-linux-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for i586-alt-linux-ar... ar checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for _LARGEFILE_SOURCE value needed for large files... no checking for i586-alt-linux-gcc option to enable large file support... -D_FILE_OFFSET_BITS=64 checking dependency style of i586-alt-linux-gcc... none checking for i586-alt-linux-ar... (cached) ar checking the archiver (ar) interface... (cached) ar checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether the compiler supports GNU C++... yes checking whether i586-alt-linux-g++ accepts -g... yes checking for i586-alt-linux-g++ option to enable C++11 features... none needed checking dependency style of i586-alt-linux-g++... none checking for bison... bison -y checking for a sed that does not truncate output... /bin/sed checking whether to build with code coverage support... no checking whether to enable maintainer-specific portions of Makefiles... yes checking for faketime... faketime checking whether faketime program works... 1700281788 yes checking for inline... inline checking for egrep... (cached) /bin/grep -E checking for cpuid.h... yes checking for __get_cpuid_count... yes checking for struct iovec.iov_base... yes checking for netinet/tcp.h... yes checking for stdatomic.h... yes checking for library containing __atomic_load_4... -latomic checking for threads.h... (cached) yes checking for sanitizer/asan_interface.h... no checking for valgrind/memcheck.h... no checking for getrandom... yes checking for KERN_ARND... no checking for getentropy... no checking for nettle >= 3.6... yes checking for hogweed >= 3.6 ... yes checking for __gmpz_cmp in -lgmp... yes checking for libtasn1 >= 4.9... yes checking whether to use the included minitasn1... no checking whether C99 macros are supported... yes checking whether to disable strict DER time encodings for backwards compatibility... no checking whether to allow SHA1 as an acceptable hash for cert digital signatures... yes checking whether to disable the SSL 3.0 protocol... yes checking whether to disable the SSL 2.0 client hello... no checking whether to disable DTLS-SRTP extension... no checking whether to disable ALPN extension... no checking whether to enable TLS heartbeat support... no checking whether to enable SRP authentication support... no checking whether to disable PSK authentication support... no checking whether to disable anonymous authentication support... no checking whether to disable DHE support... no checking whether to disable ECDHE support... no checking whether to disable GOST support... no checking whether to add cryptodev support... no checking whether to add AF_ALG support... no checking whether to add KTLS support... no checking whether to disable OCSP support... no checking size of void *... 4 checking size of long long... 8 checking size of long... 4 checking size of int... 4 checking for library containing setsockopt... none needed checking whether to build OpenSSL compatibility layer... yes checking for gtk-doc... yes checking for gtkdoc-check... gtkdoc-check.test checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no checking for glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0... no checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... yes checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib,lib checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking whether byte ordering is bigendian... no checking for fork... yes checking for setitimer... yes checking for getrusage... yes checking for getpwuid_r... yes checking for nanosleep... yes checking for daemon... yes checking for getpid... yes checking for localtime... yes checking for mmap... yes checking for clock_gettime... yes checking for fmemopen... yes checking for __register_atfork... yes checking for secure_getenv... yes checking for getauxval... yes checking for libseccomp... yes checking how to link with libseccomp... /usr/lib/libseccomp.so checking for libcrypto... yes checking how to link with libcrypto... /usr/lib/libcrypto.so od: cannot skip past end of combined input checking for librt... yes checking how to link with librt... -lrt checking for pthread_mutex_lock... yes checking for library containing u8_normalize... -lunistring checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking whether the preprocessor supports include_next... yes checking whether source code line length is unlimited... yes checking whether lstat correctly handles trailing slash... yes checking for canonicalize_file_name... yes checking for realpath... yes checking for lstat... yes checking for _set_invalid_parameter_handler... no checking for explicit_bzero... yes checking for fcntl... yes checking for symlink... yes checking for getdtablesize... yes checking for gettimeofday... yes checking for mprotect... yes checking for memset_explicit... no checking for memset_s... no checking for readlink... yes checking for secure_getenv... (cached) yes checking for getuid... yes checking for geteuid... yes checking for getgid... yes checking for getegid... yes checking for snprintf... yes checking for strndup... yes checking for localtime_r... yes checking for vasnprintf... no checking for getpass... yes checking for getexecname... no checking for setenv... yes checking for __xpg_strerror_r... yes checking for isblank... yes checking for pipe... yes checking for pselect... yes checking for pthread_sigmask... yes checking for sleep... yes checking for shutdown... yes checking for usleep... yes checking for mquery... no checking for pstat_getprocvm... no checking for i586-alt-linux-gcc options needed to detect all undeclared functions... none needed checking whether // is distinct from /... no checking whether realpath works... yes checking for faccessat... yes checking for getcwd... yes checking for complete errno.h... yes checking whether ctype.h defines __header_inline... no checking for working fcntl.h... yes checking for pid_t... yes checking for mode_t... yes checking whether stat file-mode macros are broken... no checking for C/C++ restrict keyword... __restrict__ checking for nlink_t... yes checking whether stdin defaults to large file offsets... yes checking whether ftello is declared... yes checking whether ungetc works on arbitrary bytes... yes checking for ftello... yes checking whether ftello works... yes checking whether getdelim is declared... yes checking whether getdtablesize is declared... yes checking whether getline is declared... yes checking for struct timeval... yes checking for wide-enough struct timeval.tv_sec member... yes checking whether <sys/socket.h> is self-contained... yes checking for shutdown... (cached) yes checking whether <sys/socket.h> defines the SHUT_* macros... yes checking for struct sockaddr_storage... yes checking for sa_family_t... yes checking for struct sockaddr_storage.ss_family... yes checking for IPv4 sockets... yes checking for IPv6 sockets... yes checking whether limits.h has WORD_BIT, BOOL_WIDTH etc.... yes checking for wint_t... yes checking whether wint_t is large enough... yes checking whether the compiler produces multi-arch binaries... no checking whether stdint.h conforms to C99... yes checking whether stdint.h works without ISO C predefines... yes checking whether stdint.h has UINTMAX_WIDTH etc.... yes checking whether imported symbols can be declared weak... yes checking for pthread.h... (cached) yes checking for pthread_kill in -lpthread... yes checking whether POSIX threads API is available... yes checking for multithread API to use... posix checking whether malloc is ptrdiff_t safe... yes checking whether malloc, realloc, calloc set errno on failure... yes checking whether malloc (0) returns nonnull... yes checking for mmap... (cached) yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking whether memmem is declared... yes checking whether <limits.h> defines MIN and MAX... no checking whether <sys/param.h> defines MIN and MAX... yes checking for O_CLOEXEC... yes checking for promoted mode_t type... mode_t checking whether snprintf returns a byte count as in C99... yes checking whether snprintf is declared... yes checking for wchar_t... yes checking for good max_align_t... yes checking whether NULL can be used in arbitrary expressions... yes checking whether fcloseall is declared... yes checking whether getw is declared... yes checking whether putw is declared... yes checking which flavor of printf attribute matches inttypes macros... system checking whether ecvt is declared... yes checking whether fcvt is declared... yes checking whether gcvt is declared... yes checking whether strdup is declared... yes checking whether strndup is declared... yes checking whether strnlen is declared... yes checking whether strtok_r is declared... yes checking for struct timespec in <time.h>... yes checking for TIME_UTC in <time.h>... yes checking whether execvpe is declared... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking where to find the exponent in a 'double'... word 1 bit 20 checking whether snprintf truncates the result as in C99... yes checking for snprintf... (cached) yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... yes checking for wcrtomb... yes checking whether _snprintf is declared... no checking whether vsnprintf is declared... yes checking whether <wchar.h> uses 'inline' correctly... yes checking whether wcsdup is declared... yes checking for C compiler option to allow warnings... -Wno-error checking for C++ compiler option to allow warnings... -Wno-error checking for alignas and alignof... yes, <stdalign.h> macros checking for alloca as a compiler built-in... yes checking for static_assert... yes, an <assert.h> macro checking for __builtin_expect... yes checking for byteswap.h... yes checking whether // is distinct from /... (cached) no checking whether dup2 works... yes checking whether fcntl handles F_DUPFD correctly... yes checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check checking whether conversion from 'int' to 'long double' works... yes checking whether fopen recognizes a trailing slash... yes checking whether fopen supports the mode character 'x'... yes checking whether fopen supports the mode character 'e'... yes checking whether free is known to preserve errno... yes checking for ftello... (cached) yes checking whether ftello works... (cached) yes checking whether __func__ is available... yes checking for getdelim... yes checking for working getdelim function... yes checking whether getdtablesize works... yes checking for getline... yes checking for working getline function... yes checking for gettimeofday with POSIX signature... yes checking for library containing inet_ntop... none required checking whether inet_ntop is declared... yes checking for library containing inet_pton... none required checking whether inet_pton is declared... yes checking for i586-alt-linux-objdump... no checking for objdump... objdump checking if gcc/ld supports -Wl,--output-def... no checking if LD -Wl,--version-script works... yes checking whether the compiler supports the __inline keyword... yes checking for pthread_rwlock_t... yes checking whether pthread_rwlock_rdlock prefers a writer to a reader... no checking whether lseek detects pipes... yes checking for memmem... yes checking whether memmem works... yes checking for mempcpy... yes checking for explicit_memset... no checking whether <netinet/in.h> is self-contained... yes checking whether open recognizes a trailing slash... yes checking for pmccabe... false checking for rawmemchr... yes checking whether readlink signature is correct... yes checking whether readlink handles trailing slash correctly... yes checking whether readlink truncates results correctly... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for snprintf... (cached) yes checking whether snprintf respects a size of 1... yes checking whether printf supports POSIX/XSI format strings with positions... yes checking for socklen_t... yes checking for ssize_t... yes checking whether stat handles trailing slashes on files... yes checking for struct stat.st_atim.tv_nsec... yes checking whether struct stat.st_atim is of type struct timespec... yes checking for struct stat.st_birthtimespec.tv_nsec... no checking for struct stat.st_birthtimensec... no checking for struct stat.st_birthtim.tv_nsec... no checking for bool, true, false... no checking for stpcpy... yes checking for strcasecmp... yes checking for strncasecmp... yes checking whether strncasecmp is declared... yes checking for working strndup... yes checking for working strnlen... yes checking for strtok_r... yes checking whether strtok_r works... yes checking for strverscmp... yes checking whether localtime_r is declared... yes checking whether localtime_r is compatible with its POSIX signature... yes checking for variable-length arrays... yes checking for ptrdiff_t... yes checking for vasprintf... yes checking for vsnprintf... yes checking whether snprintf respects a size of 1... (cached) yes checking whether printf supports POSIX/XSI format strings with positions... (cached) yes checking for stdint.h... (cached) yes checking if environ is properly declared... yes checking for error... yes checking whether error_at_line is declared... yes checking for error_at_line... yes checking for working error function... yes checking whether strerror_r is declared... yes checking whether strerror_r returns char *... yes checking whether fseeko is declared... yes checking for fseeko... yes checking for library containing gethostbyname... none required checking for gethostbyname... yes checking for library containing getservbyname... none required checking for getservbyname... yes checking whether fflush_unlocked is declared... yes checking whether flockfile is declared... yes checking whether fputs_unlocked is declared... yes checking whether funlockfile is declared... yes checking whether putc_unlocked is declared... yes checking whether timespec_get is declared... yes checking for timespec_get... yes checking whether INT32_MAX < INTMAX_MAX... yes checking whether INT64_MAX == LONG_MAX... no checking whether UINT32_MAX < UINTMAX_MAX... yes checking whether UINT64_MAX == ULONG_MAX... no checking whether time_t is signed... yes checking whether alarm is declared... yes checking for working mktime... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct tm.tm_gmtoff... yes checking for compound literals... yes checking whether <sys/select.h> is self-contained... yes checking whether setenv is declared... yes checking for search.h... yes checking for tsearch... yes checking for sigset_t... yes checking for uid_t in sys/types.h... yes checking for volatile sig_atomic_t... yes checking for sighandler_t... yes checking whether strerror(0) succeeds... yes checking for strerror_r... yes checking for strerror_r with POSIX signature... no checking whether __xpg_strerror_r works... yes checking whether unsetenv is declared... yes checking for nl_langinfo and CODESET... yes checking whether getcwd (NULL, 0) allocates memory for result... yes checking for getcwd with POSIX signature... yes checking for off_t... yes checking whether langinfo.h defines CODESET... yes checking whether langinfo.h defines T_FMT_AMPM... yes checking whether langinfo.h defines ALTMON_1... yes checking whether langinfo.h defines ERA... yes checking whether langinfo.h defines YESEXPR... yes checking whether locale.h defines locale_t... yes checking whether locale.h conforms to POSIX:2001... yes checking whether struct lconv is properly defined... yes checking for LC_MESSAGES... yes checking for uselocale... yes checking whether uselocale works... yes checking for fake locale system (OpenBSD)... no checking for Solaris 11.4 locale system... no checking for getlocalename_l... no checking for library needed for semaphore functions... none checking for pthread_t... yes checking for pthread_spinlock_t... yes checking for PTHREAD_CREATE_DETACHED... yes checking for PTHREAD_MUTEX_RECURSIVE... yes checking for PTHREAD_MUTEX_ROBUST... yes checking for PTHREAD_PROCESS_SHARED... yes checking for sched.h... yes checking for struct sched_param... yes checking whether setlocale (LC_ALL, NULL) is multithread-safe... yes checking whether setlocale (category, NULL) is multithread-safe... yes checking whether <sys/ioctl.h> declares ioctl... yes checking for alignas and alignof... (cached) yes, <stdalign.h> macros checking for alloca as a compiler built-in... (cached) yes checking for static_assert... (cached) yes, an <assert.h> macro checking for __builtin_expect... (cached) yes checking for byteswap.h... (cached) yes checking whether calloc (0, n) and calloc (n, 0) return nonnull... yes checking for library containing clock_gettime... none required checking for clock_getres... yes checking for clock_gettime... (cached) yes checking for clock_settime... yes checking whether // is distinct from /... (cached) no checking whether dup2 works... (cached) yes checking whether fcntl handles F_DUPFD correctly... (cached) yes checking whether fcntl understands F_DUPFD_CLOEXEC... (cached) needs runtime check checking for flexible array member... yes checking whether conversion from 'int' to 'long double' works... (cached) yes checking whether fopen recognizes a trailing slash... (cached) yes checking whether fopen supports the mode character 'x'... (cached) yes checking whether fopen supports the mode character 'e'... (cached) yes checking for __fpending... yes checking whether __fpending is declared... yes checking whether free is known to preserve errno... (cached) yes checking for fseeko... (cached) yes checking for ftello... (cached) yes checking whether ftello works... (cached) yes checking whether __func__ is available... (cached) yes checking for library containing getaddrinfo... none required checking for getaddrinfo... yes checking whether gai_strerror is declared... yes checking whether gai_strerrorA is declared... no checking for gai_strerror with POSIX signature... yes checking for struct sockaddr.sa_len... no checking whether getaddrinfo is declared... yes checking whether freeaddrinfo is declared... yes checking whether getnameinfo is declared... yes checking for struct addrinfo... yes checking for getdelim... (cached) yes checking for working getdelim function... (cached) yes checking whether getdtablesize works... (cached) yes checking for getline... (cached) yes checking for working getline function... (cached) yes checking for getprogname... no checking whether program_invocation_name is declared... yes checking whether program_invocation_short_name is declared... yes checking whether __argv is declared... no checking for gettimeofday with POSIX signature... (cached) yes checking for library containing gethostbyname... (cached) none required checking for gethostbyname... (cached) yes checking for library containing inet_ntop... (cached) none required checking whether inet_ntop is declared... (cached) yes checking for library containing inet_pton... (cached) none required checking whether inet_pton is declared... (cached) yes checking whether the compiler supports the __inline keyword... (cached) yes checking for pthread_rwlock_t... (cached) yes checking whether pthread_rwlock_rdlock prefers a writer to a reader... (cached) no checking whether lseek detects pipes... (cached) yes checking whether malloc (0) returns nonnull... (cached) yes checking for memmem... (cached) yes checking whether memmem works... (cached) yes checking for mempcpy... (cached) yes checking for explicit_memset... (cached) no checking for __mktime_internal... no checking whether <netinet/in.h> is self-contained... (cached) yes checking whether open recognizes a trailing slash... (cached) yes checking for bison... bison checking for bison 2.4 or newer... 3.8.2, ok checking for struct tm.tm_zone... (cached) yes checking whether program_invocation_name is declared... (cached) yes checking whether program_invocation_short_name is declared... (cached) yes checking for rawmemchr... (cached) yes checking whether readlink signature is correct... (cached) yes checking whether readlink handles trailing slash correctly... (cached) yes checking whether readlink truncates results correctly... (cached) yes checking whether realloc (0, 0) returns nonnull... yes checking for reallocarray... yes checking whether select supports a 0 argument... yes checking whether select detects invalid fds... yes checking for library containing getservbyname... (cached) none required checking for getservbyname... (cached) yes checking whether setenv validates arguments... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... (cached) yes checking for snprintf... (cached) yes checking whether snprintf respects a size of 1... (cached) yes checking whether printf supports POSIX/XSI format strings with positions... (cached) yes checking for socklen_t... (cached) yes checking for ssize_t... (cached) yes checking whether stat handles trailing slashes on files... (cached) yes checking for struct stat.st_atim.tv_nsec... (cached) yes checking whether struct stat.st_atim is of type struct timespec... (cached) yes checking for struct stat.st_birthtimespec.tv_nsec... (cached) no checking for struct stat.st_birthtimensec... (cached) no checking for struct stat.st_birthtim.tv_nsec... (cached) no checking for bool, true, false... (cached) no checking for stpcpy... (cached) yes checking for strcasecmp... (cached) yes checking for strncasecmp... (cached) yes checking whether strncasecmp is declared... (cached) yes checking for working strerror function... yes checking for working strndup... (cached) yes checking for working strnlen... (cached) yes checking for strtok_r... (cached) yes checking whether strtok_r works... (cached) yes checking for strverscmp... (cached) yes checking whether localtime_r is declared... (cached) yes checking whether localtime_r is compatible with its POSIX signature... (cached) yes checking whether localtime works even near extrema... yes checking for timezone_t... no checking for timegm... yes checking for unsetenv... yes checking for unsetenv() return type... int checking whether unsetenv obeys POSIX... yes checking for variable-length arrays... (cached) yes checking for ptrdiff_t... (cached) yes checking for vasprintf... (cached) yes checking for vsnprintf... (cached) yes checking whether snprintf respects a size of 1... (cached) yes checking whether printf supports POSIX/XSI format strings with positions... (cached) yes checking for stdint.h... (cached) yes checking for atoll... yes checking for a traditional french locale... fr_FR checking for a turkish Unicode locale... tr_TR.UTF-8 checking whether fdopen sets errno... yes checking for ftruncate... yes checking for getpagesize... yes checking whether getpagesize is declared... yes checking whether byte ordering is bigendian... (cached) no checking whether byte ordering is bigendian... (cached) no checking for ioctl... yes checking for ioctl with POSIX signature... no checking for newlocale... yes checking for newlocale... (cached) yes checking for duplocale... yes checking for freelocale... yes checking for newlocale... (cached) yes checking for library containing nanosleep... none required checking for working nanosleep... yes checking whether perror matches strerror... yes checking whether signature of pselect conforms to POSIX... yes checking whether pselect detects invalid fds... yes checking whether pthread_create exists as a global function... yes checking whether pthread_sigmask is a macro... no checking whether pthread_sigmask works without -lpthread... yes checking whether pthread_sigmask returns error numbers... yes checking whether pthread_sigmask unblocks signals correctly... guessing yes checking for putenv compatible with GNU and SVID... yes checking for raise... yes checking for sigprocmask... yes checking whether sched_yield is declared... yes checking whether setlocale supports the C locale... yes checking whether setlocale (LC_ALL, NULL) is multithread-safe... (cached) yes checking whether setlocale (category, NULL) is multithread-safe... (cached) yes checking for a traditional french locale... (cached) fr_FR checking for a french Unicode locale... fr_FR.UTF-8 checking for a traditional japanese locale... ja_JP.EUC-JP checking for a transitional chinese locale... zh_CN.GB18030 checking for sigprocmask... (cached) yes checking whether sleep is declared... yes checking for working sleep... yes checking for catgets... yes checking for strtoll... yes checking whether strtoll works... yes checking whether symlink handles trailing slash correctly... yes checking for pthread_atfork... yes checking for sys/single_threaded.h... yes checking for useconds_t... yes checking whether usleep allows large arguments... yes checking whether the compiler generally respects inline... yes checking for ssize_t... (cached) yes checking for bool, true, false... (cached) no checking for a Python interpreter with version >= 3.6... python3 checking for python3... /usr/bin/python3 checking for python3 version... 3.11 checking for python3 platform... linux checking for GNU default python3 prefix... ${prefix} checking for GNU default python3 exec_prefix... ${exec_prefix} checking for python3 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3/site-packages checking for python3 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3/site-packages checking for libev... no checking whether C compiler handles -Werror -Wunknown-warning-option... no checking whether C compiler handles -Wtype-limits... yes checking whether -Wno-missing-field-initializers is supported... yes checking whether -Wno-missing-field-initializers is needed... no checking whether -Wuninitialized is supported... yes checking whether C compiler handles -fanalyzer... yes checking whether C compiler handles -fno-common... yes checking whether C compiler handles -Wall... yes checking whether C compiler handles -Wbad-function-cast... yes checking whether C compiler handles -Wcast-align=strict... yes checking whether C compiler handles -Wdate-time... yes checking whether C compiler handles -Wdisabled-optimization... yes checking whether C compiler handles -Wdouble-promotion... yes checking whether C compiler handles -Wduplicated-branches... yes checking whether C compiler handles -Wduplicated-cond... yes checking whether C compiler handles -Wextra... yes checking whether C compiler handles -Winit-self... yes checking whether C compiler handles -Winvalid-pch... yes checking whether C compiler handles -Wlogical-op... yes checking whether C compiler handles -Wmissing-declarations... yes checking whether C compiler handles -Wmissing-include-dirs... yes checking whether C compiler handles -Wmissing-prototypes... yes checking whether C compiler handles -Wnested-externs... yes checking whether C compiler handles -Wnull-dereference... yes checking whether C compiler handles -Wold-style-definition... yes checking whether C compiler handles -Wopenmp-simd... yes checking whether C compiler handles -Wpacked... yes checking whether C compiler handles -Wpointer-arith... yes checking whether C compiler handles -Wshadow... yes checking whether C compiler handles -Wstrict-prototypes... yes checking whether C compiler handles -Wsuggest-attribute=cold... yes checking whether C compiler handles -Wsuggest-attribute=format... yes checking whether C compiler handles -Wsuggest-attribute=malloc... yes checking whether C compiler handles -Wsuggest-final-methods... yes checking whether C compiler handles -Wsuggest-final-types... yes checking whether C compiler handles -Wsync-nand... yes checking whether C compiler handles -Wtrampolines... yes checking whether C compiler handles -Wuninitialized... yes checking whether C compiler handles -Wunknown-pragmas... yes checking whether C compiler handles -Wunused-macros... yes checking whether C compiler handles -Wvariadic-macros... yes checking whether C compiler handles -Wvector-operation-performance... yes checking whether C compiler handles -Wwrite-strings... yes checking whether C compiler handles -Warray-bounds=2... yes checking whether C compiler handles -Wattribute-alias=2... yes checking whether C compiler handles -Wbidi-chars=any,ucn... yes checking whether C compiler handles -Wformat-overflow=2... yes checking whether C compiler handles -Wformat=2... yes checking whether C compiler handles -Wformat-truncation=2... yes checking whether C compiler handles -Wimplicit-fallthrough=5... yes checking whether C compiler handles -Wshift-overflow=2... yes checking whether C compiler handles -Wuse-after-free=3... yes checking whether C compiler handles -Wunused-const-variable=2... yes checking whether C compiler handles -Wvla-larger-than=4031... yes checking whether C compiler handles -Wno-analyzer-malloc-leak... yes checking whether C compiler handles -Wno-missing-field-initializers... yes checking whether C compiler handles -Wno-unused-parameter... yes checking whether C compiler handles -Wno-format-truncation... yes checking whether C compiler handles -Wimplicit-fallthrough=2... yes checking whether C compiler handles -Wabi=11... yes checking whether C compiler handles -fdiagnostics-show-option... yes checking whether C compiler handles -fno-builtin-strcmp... yes checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by i586-alt-linux-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 i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-file... no checking for file... file checking for i586-alt-linux-objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... (cached) ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-gcc linker (/usr/bin/ld) 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 how to run the C++ preprocessor... i586-alt-linux-g++ -E checking for ld used by i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-g++ static flag -static works... no checking if i586-alt-linux-g++ supports -c -o file.o... yes checking if i586-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate od: cannot skip past end of combined input checking for libdl... yes checking how to link with libdl... -ldl checking for cmocka >= 1.0.1... no checking for libidn2 >= 2.0.0... yes checking for nettle_get_secp_192r1 in -lhogweed... yes checking for nettle_rsa_sec_decrypt... yes checking for nettle_gost28147_set_key... no checking for nettle_streebog512_update... yes checking for nettle_magma_set_key... no checking for nettle_kuznyechik_set_key... no checking for nettle_cmac_magma_update... no checking for nettle_cmac_kuznyechik_update... no checking gmp soname... libgmp.so.10 checking nettle soname... libnettle.so.8 checking hogweed soname... libhogweed.so.6 checking whether to build libdane... no checking for p11-kit-1 >= 0.23.1... yes checking for tss2-esys tss2-mu tss2-tctildr... no checking size of unsigned long int... 4 checking size of unsigned int... 4 checking size of time_t... 4 checking whether to include zlib compression support... yes checking for libz... yes checking how to link with libz... /usr/lib/libz.so checking whether to include brotli compression support... yes checking for libbrotlienc >= 1.0.0... no checking for libbrotlidec >= 1.0.0... no configure: WARNING: *** LIBBROTLI was not found. You will not be able to use BROTLI compression. checking whether to include zstd compression support... yes checking for libzstd >= 1.3.0... no configure: WARNING: *** LIBZSTD was not found. You will not be able to use ZSTD compression. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating ldd.sh config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/credentials/Makefile config.status: creating doc/credentials/srp/Makefile config.status: creating doc/credentials/x509/Makefile config.status: creating doc/doxygen/Doxyfile config.status: creating doc/examples/Makefile config.status: creating doc/latex/Makefile config.status: creating doc/manpages/Makefile config.status: creating doc/reference/Makefile config.status: creating doc/reference/version.xml config.status: creating doc/scripts/Makefile config.status: creating extra/Makefile config.status: creating extra/includes/Makefile config.status: creating libdane/Makefile config.status: creating libdane/includes/Makefile config.status: creating libdane/gnutls-dane.pc config.status: creating gl/Makefile config.status: creating lib/Makefile config.status: creating lib/accelerated/Makefile config.status: creating lib/accelerated/x86/Makefile config.status: creating lib/accelerated/aarch64/Makefile config.status: creating lib/algorithms/Makefile config.status: creating lib/auth/Makefile config.status: creating lib/ext/Makefile config.status: creating lib/extras/Makefile config.status: creating lib/gnutls.pc config.status: creating lib/includes/Makefile config.status: creating lib/includes/gnutls/gnutls.h config.status: creating lib/minitasn1/Makefile config.status: creating lib/nettle/Makefile config.status: creating lib/x509/Makefile config.status: creating lib/unistring/Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating src/gl/Makefile config.status: creating src/gl/tests/Makefile config.status: creating tests/Makefile config.status: creating tests/windows/Makefile config.status: creating tests/cert-tests/Makefile config.status: creating tests/slow/Makefile config.status: creating tests/suite/Makefile config.status: creating fuzz/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext configure: summary of build options: version: 3.8.1 shared 66:0:36 Host/Target system: i586-alt-linux-gnu Build system: i586-alt-linux-gnu Install prefix: /usr Compiler: i586-alt-linux-gcc Valgrind: no CFlags: -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic Library types: Shared=yes, Static=no Local libtasn1: no Local unistring: no Use nettle-mini: no Documentation: yes (manpages: yes) configure: External hardware support: /dev/crypto: no AF_ALG support: no Hardware accel: x86 Padlock accel: yes Random gen. variant: getrandom PKCS#11 support: yes TPM support: no TPM2 support: auto KTLS support: no configure: TPM2 library: configure: Optional features: (note that included applications might not compile properly if features are disabled) SSL3.0 support: no SSL2.0 client hello: yes Allow SHA1 sign: no DTLS-SRTP support: yes ALPN support: yes OCSP support: yes SRP support: no PSK support: yes DHE support: yes ECDHE support: yes GOST support: yes Anon auth support: yes Heartbeat support: no IDNA support: IDNA 2008 (libidn2) Non-SuiteB curves: yes FIPS140 mode: no Strict DER time: yes configure: Optional libraries: C++ library: yes DANE library: no OpenSSL compat: yes configure: System files: Trust store pkcs11: Trust store dir: Trust store file: /usr/share/ca-certificates/ca-bundle.crt Blocklist file: CRL file: Configuration file: /etc/gnutls/config DNSSEC root key file: /etc/unbound/root.key configure: WARNING: *** *** The DNSSEC root key file in /etc/unbound/root.key was not found. *** This file is needed for the verification of DNSSEC responses. *** Use the command: unbound-anchor -a "/etc/unbound/root.key" *** to generate or update it. *** + make MAKEINFOFLAGS=--no-split make: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1' make all-recursive make[1]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1' Making all in gl make[2]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/gl' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''HAVE_ALLOCA_H''@|1|g' \ ./alloca.in.h > alloca.h-t mv alloca.h-t alloca.h /bin/mkdir -p 'arpa' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''HAVE_FEATURES_H''@|1|g' \ -e 's|@''NEXT_ARPA_INET_H''@|<arpa/inet.h>|g' \ -e 's|@''HAVE_ARPA_INET_H''@|1|g' \ -e 's/@''GNULIB_INET_NTOP''@/1/g' \ -e 's/@''GNULIB_INET_PTON''@/1/g' \ -e 's|@''HAVE_WS2TCPIP_H''@|0|g' \ -e 's|@''HAVE_DECL_INET_NTOP''@|1|g' \ -e 's|@''HAVE_DECL_INET_PTON''@|1|g' \ -e 's|@''REPLACE_INET_NTOP''@|0|g' \ -e 's|@''REPLACE_INET_PTON''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./arpa_inet.in.h > arpa/inet.h-t mv arpa/inet.h-t arpa/inet.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_FCNTL_H''@|<fcntl.h>|g' \ -e 's/@''GNULIB_CREAT''@/0/g' \ -e 's/@''GNULIB_FCNTL''@/1/g' \ -e 's/@''GNULIB_NONBLOCKING''@/0/g' \ -e 's/@''GNULIB_OPEN''@/1/g' \ -e 's/@''GNULIB_OPENAT''@/0/g' \ -e 's/@''GNULIB_MDA_CREAT''@/1/g' \ -e 's/@''GNULIB_MDA_OPEN''@/1/g' \ -e 's|@''HAVE_FCNTL''@|1|g' \ -e 's|@''HAVE_OPENAT''@|1|g' \ -e 's|@''REPLACE_CREAT''@|0|g' \ -e 's|@''REPLACE_FCNTL''@|1|g' \ -e 's|@''REPLACE_OPEN''@|0|g' \ -e 's|@''REPLACE_OPENAT''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./fcntl.in.h > fcntl.h-t mv fcntl.h-t fcntl.h /bin/mkdir -p 'malloc' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|__always_inline|inline _GL_ATTRIBUTE_ALWAYS_INLINE|g' \ -e 's|__glibc_likely|_GL_LIKELY|g' \ -e 's|__glibc_unlikely|_GL_UNLIKELY|g' \ -e '/libc_hidden_proto/d' \ ./malloc/scratch_buffer.h > malloc/scratch_buffer.gl.h-t mv malloc/scratch_buffer.gl.h-t malloc/scratch_buffer.gl.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's/@''HAVE_INTTYPES_H''@/1/g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_INTTYPES_H''@|<inttypes.h>|g' \ -e 's/@''APPLE_UNIVERSAL_BUILD''@/0/g' \ -e 's/@''PRIPTR_PREFIX''@/""/g' \ -e 's/@''GNULIB_IMAXABS''@/0/g' \ -e 's/@''GNULIB_IMAXDIV''@/0/g' \ -e 's/@''GNULIB_STRTOIMAX''@/0/g' \ -e 's/@''GNULIB_STRTOUMAX''@/0/g' \ -e 's/@''HAVE_DECL_IMAXABS''@/1/g' \ -e 's/@''HAVE_DECL_IMAXDIV''@/1/g' \ -e 's/@''HAVE_DECL_STRTOIMAX''@/1/g' \ -e 's/@''HAVE_DECL_STRTOUMAX''@/1/g' \ -e 's/@''HAVE_IMAXDIV_T''@/1/g' \ -e 's/@''REPLACE_IMAXABS''@/0/g' \ -e 's/@''REPLACE_IMAXDIV''@/0/g' \ -e 's/@''REPLACE_STRTOIMAX''@/0/g' \ -e 's/@''REPLACE_STRTOUMAX''@/0/g' \ -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/1/g' \ -e 's/@''INT64_MAX_EQ_LONG_MAX''@/0/g' \ -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/1/g' \ -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/0/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./inttypes.in.h > inttypes.h-t mv inttypes.h-t inttypes.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_LIMITS_H''@|<limits.h>|g' \ ./limits.in.h > limits.h-t mv limits.h-t limits.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_NETDB_H''@|<netdb.h>|g' \ -e 's|@''HAVE_NETDB_H''@|1|g' \ -e 's/@''GNULIB_GETADDRINFO''@/0/g' \ -e 's|@''HAVE_STRUCT_ADDRINFO''@|1|g' \ -e 's|@''HAVE_DECL_FREEADDRINFO''@|1|g' \ -e 's|@''HAVE_DECL_GAI_STRERROR''@|1|g' \ -e 's|@''HAVE_DECL_GETADDRINFO''@|1|g' \ -e 's|@''HAVE_DECL_GETNAMEINFO''@|1|g' \ -e 's|@''REPLACE_GAI_STRERROR''@|0|g' \ -e 's|@''REPLACE_GETADDRINFO''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./netdb.in.h > netdb.h-t mv netdb.h-t netdb.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ ./stdckdint.in.h > stdckdint.h-t mv stdckdint.h-t stdckdint.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_STDIO_H''@|<stdio.h>|g' \ -e 's/@''GNULIB_DPRINTF''@/0/g' \ -e 's/@''GNULIB_FCLOSE''@/0/g' \ -e 's/@''GNULIB_FDOPEN''@/0/g' \ -e 's/@''GNULIB_FFLUSH''@/0/g' \ -e 's/@''GNULIB_FGETC''@/1/g' \ -e 's/@''GNULIB_FGETS''@/1/g' \ -e 's/@''GNULIB_FOPEN''@/1/g' \ -e 's/@''GNULIB_FOPEN_GNU''@/1/g' \ -e 's/@''GNULIB_FPRINTF''@/1/g' \ -e 's/@''GNULIB_FPRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_FPURGE''@/0/g' \ -e 's/@''GNULIB_FPUTC''@/1/g' \ -e 's/@''GNULIB_FPUTS''@/1/g' \ -e 's/@''GNULIB_FREAD''@/1/g' \ -e 's/@''GNULIB_FREOPEN''@/0/g' \ -e 's/@''GNULIB_FSCANF''@/1/g' \ -e 's/@''GNULIB_FSEEK''@/0/g' \ -e 's/@''GNULIB_FSEEKO''@/0/g' \ -e 's/@''GNULIB_FTELL''@/1/g' \ -e 's/@''GNULIB_FTELLO''@/1/g' \ -e 's/@''GNULIB_FWRITE''@/1/g' \ -e 's/@''GNULIB_GETC''@/1/g' \ -e 's/@''GNULIB_GETCHAR''@/1/g' \ -e 's/@''GNULIB_GETDELIM''@/1/g' \ -e 's/@''GNULIB_GETLINE''@/1/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF''@/0/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_PCLOSE''@/0/g' \ -e 's/@''GNULIB_PERROR''@/0/g' \ -e 's/@''GNULIB_POPEN''@/0/g' \ -e 's/@''GNULIB_PRINTF''@/1/g' \ -e 's/@''GNULIB_PRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_PUTC''@/1/g' \ -e 's/@''GNULIB_PUTCHAR''@/1/g' \ -e 's/@''GNULIB_PUTS''@/1/g' \ -e 's/@''GNULIB_REMOVE''@/0/g' \ -e 's/@''GNULIB_RENAME''@/0/g' \ -e 's/@''GNULIB_RENAMEAT''@/0/g' \ -e 's/@''GNULIB_SCANF''@/1/g' \ -e 's/@''GNULIB_SNPRINTF''@/1/g' \ -e 's/@''GNULIB_SPRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/0/g' \ -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/0/g' \ -e 's/@''GNULIB_TMPFILE''@/0/g' \ -e 's/@''GNULIB_VASPRINTF''@/1/g' \ -e 's/@''GNULIB_VDPRINTF''@/0/g' \ -e 's/@''GNULIB_VFPRINTF''@/1/g' \ -e 's/@''GNULIB_VFPRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_VFSCANF''@/0/g' \ -e 's/@''GNULIB_VSCANF''@/0/g' \ -e 's/@''GNULIB_VPRINTF''@/1/g' \ -e 's/@''GNULIB_VPRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_VSNPRINTF''@/1/g' \ -e 's/@''GNULIB_VSPRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_MDA_FCLOSEALL''@/1/g' \ -e 's/@''GNULIB_MDA_FDOPEN''@/1/g' \ -e 's/@''GNULIB_MDA_FILENO''@/1/g' \ -e 's/@''GNULIB_MDA_GETW''@/1/g' \ -e 's/@''GNULIB_MDA_PUTW''@/1/g' \ -e 's/@''GNULIB_MDA_TEMPNAM''@/1/g' \ < ./stdio.in.h | \ sed -e 's|@''HAVE_DECL_FCLOSEALL''@|1|g' \ -e 's|@''HAVE_DECL_FPURGE''@|1|g' \ -e 's|@''HAVE_DECL_FSEEKO''@|1|g' \ -e 's|@''HAVE_DECL_FTELLO''@|1|g' \ -e 's|@''HAVE_DECL_GETDELIM''@|1|g' \ -e 's|@''HAVE_DECL_GETLINE''@|1|g' \ -e 's|@''HAVE_DECL_GETW''@|1|g' \ -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|1|g' \ -e 's|@''HAVE_DECL_PUTW''@|1|g' \ -e 's|@''HAVE_DECL_SNPRINTF''@|1|g' \ -e 's|@''HAVE_DECL_VSNPRINTF''@|1|g' \ -e 's|@''HAVE_DPRINTF''@|1|g' \ -e 's|@''HAVE_FSEEKO''@|1|g' \ -e 's|@''HAVE_FTELLO''@|1|g' \ -e 's|@''HAVE_PCLOSE''@|1|g' \ -e 's|@''HAVE_POPEN''@|1|g' \ -e 's|@''HAVE_RENAMEAT''@|1|g' \ -e 's|@''HAVE_VASPRINTF''@|1|g' \ -e 's|@''HAVE_VDPRINTF''@|1|g' \ -e 's|@''REPLACE_DPRINTF''@|0|g' \ -e 's|@''REPLACE_FCLOSE''@|0|g' \ -e 's|@''REPLACE_FDOPEN''@|0|g' \ -e 's|@''REPLACE_FFLUSH''@|0|g' \ -e 's|@''REPLACE_FOPEN''@|0|g' \ -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|0|g' \ -e 's|@''REPLACE_FPRINTF''@|0|g' \ -e 's|@''REPLACE_FPURGE''@|0|g' \ -e 's|@''REPLACE_FREOPEN''@|0|g' \ -e 's|@''REPLACE_FSEEK''@|0|g' \ -e 's|@''REPLACE_FSEEKO''@|0|g' \ -e 's|@''REPLACE_FTELL''@|0|g' \ -e 's|@''REPLACE_FTELLO''@|0|g' \ -e 's|@''REPLACE_GETDELIM''@|0|g' \ -e 's|@''REPLACE_GETLINE''@|0|g' \ -e 's|@''REPLACE_OBSTACK_PRINTF''@|0|g' \ -e 's|@''REPLACE_PERROR''@|0|g' \ -e 's|@''REPLACE_POPEN''@|0|g' \ -e 's|@''REPLACE_PRINTF''@|0|g' \ -e 's|@''REPLACE_REMOVE''@|0|g' \ -e 's|@''REPLACE_RENAME''@|0|g' \ -e 's|@''REPLACE_RENAMEAT''@|0|g' \ -e 's|@''REPLACE_SNPRINTF''@|0|g' \ -e 's|@''REPLACE_SPRINTF''@|0|g' \ -e 's|@''REPLACE_STDIO_READ_FUNCS''@|0|g' \ -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|0|g' \ -e 's|@''REPLACE_TMPFILE''@|0|g' \ -e 's|@''REPLACE_VASPRINTF''@|0|g' \ -e 's|@''REPLACE_VDPRINTF''@|0|g' \ -e 's|@''REPLACE_VFPRINTF''@|0|g' \ -e 's|@''REPLACE_VPRINTF''@|0|g' \ -e 's|@''REPLACE_VSNPRINTF''@|0|g' \ -e 's|@''REPLACE_VSPRINTF''@|0|g' \ -e 's|@''ASM_SYMBOL_PREFIX''@||g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ > stdio.h-t mv stdio.h-t stdio.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_STDLIB_H''@|<stdlib.h>|g' \ -e 's/@''GNULIB__EXIT''@/0/g' \ -e 's/@''GNULIB_ALIGNED_ALLOC''@/0/g' \ -e 's/@''GNULIB_ATOLL''@/0/g' \ -e 's/@''GNULIB_CALLOC_GNU''@/0/g' \ -e 's/@''GNULIB_CALLOC_POSIX''@/0/g' \ -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/1/g' \ -e 's/@''GNULIB_FREE_POSIX''@/1/g' \ -e 's/@''GNULIB_GETLOADAVG''@/0/g' \ -e 's/@''GNULIB_GETPROGNAME''@/0/g' \ -e 's/@''GNULIB_GETSUBOPT''@/0/g' \ -e 's/@''GNULIB_GRANTPT''@/0/g' \ -e 's/@''GNULIB_MALLOC_GNU''@/0/g' \ -e 's/@''GNULIB_MALLOC_POSIX''@/1/g' \ -e 's/@''GNULIB_MBTOWC''@/0/g' \ -e 's/@''GNULIB_MKDTEMP''@/0/g' \ -e 's/@''GNULIB_MKOSTEMP''@/0/g' \ -e 's/@''GNULIB_MKOSTEMPS''@/0/g' \ -e 's/@''GNULIB_MKSTEMP''@/0/g' \ -e 's/@''GNULIB_MKSTEMPS''@/0/g' \ -e 's/@''GNULIB_POSIX_MEMALIGN''@/0/g' \ -e 's/@''GNULIB_POSIX_OPENPT''@/0/g' \ -e 's/@''GNULIB_PTSNAME''@/0/g' \ -e 's/@''GNULIB_PTSNAME_R''@/0/g' \ -e 's/@''GNULIB_PUTENV''@/0/g' \ -e 's/@''GNULIB_QSORT_R''@/0/g' \ -e 's/@''GNULIB_RANDOM''@/0/g' \ -e 's/@''GNULIB_RANDOM_R''@/0/g' \ -e 's/@''GNULIB_REALLOC_GNU''@/0/g' \ -e 's/@''GNULIB_REALLOC_POSIX''@/1/g' \ -e 's/@''GNULIB_REALLOCARRAY''@/0/g' \ -e 's/@''GNULIB_REALPATH''@/1/g' \ -e 's/@''GNULIB_RPMATCH''@/0/g' \ -e 's/@''GNULIB_SECURE_GETENV''@/1/g' \ -e 's/@''GNULIB_SETENV''@/0/g' \ -e 's/@''GNULIB_STRTOD''@/0/g' \ -e 's/@''GNULIB_STRTOL''@/0/g' \ -e 's/@''GNULIB_STRTOLD''@/0/g' \ -e 's/@''GNULIB_STRTOLL''@/0/g' \ -e 's/@''GNULIB_STRTOUL''@/0/g' \ -e 's/@''GNULIB_STRTOULL''@/0/g' \ -e 's/@''GNULIB_SYSTEM_POSIX''@/0/g' \ -e 's/@''GNULIB_UNLOCKPT''@/0/g' \ -e 's/@''GNULIB_UNSETENV''@/0/g' \ -e 's/@''GNULIB_WCTOMB''@/0/g' \ -e 's/@''GNULIB_MDA_ECVT''@/1/g' \ -e 's/@''GNULIB_MDA_FCVT''@/1/g' \ -e 's/@''GNULIB_MDA_GCVT''@/1/g' \ -e 's/@''GNULIB_MDA_MKTEMP''@/1/g' \ -e 's/@''GNULIB_MDA_PUTENV''@/1/g' \ < ./stdlib.in.h | \ sed -e 's|@''HAVE__EXIT''@|1|g' \ -e 's|@''HAVE_ALIGNED_ALLOC''@|1|g' \ -e 's|@''HAVE_ATOLL''@|1|g' \ -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|1|g' \ -e 's|@''HAVE_DECL_ECVT''@|1|g' \ -e 's|@''HAVE_DECL_FCVT''@|1|g' \ -e 's|@''HAVE_DECL_GCVT''@|1|g' \ -e 's|@''HAVE_DECL_GETLOADAVG''@|1|g' \ -e 's|@''HAVE_GETPROGNAME''@|0|g' \ -e 's|@''HAVE_GETSUBOPT''@|1|g' \ -e 's|@''HAVE_GRANTPT''@|1|g' \ -e 's|@''HAVE_INITSTATE''@|1|g' \ -e 's|@''HAVE_DECL_INITSTATE''@|1|g' \ -e 's|@''HAVE_MBTOWC''@|1|g' \ -e 's|@''HAVE_MKDTEMP''@|1|g' \ -e 's|@''HAVE_MKOSTEMP''@|1|g' \ -e 's|@''HAVE_MKOSTEMPS''@|1|g' \ -e 's|@''HAVE_MKSTEMP''@|1|g' \ -e 's|@''HAVE_MKSTEMPS''@|1|g' \ -e 's|@''HAVE_POSIX_MEMALIGN''@|1|g' \ -e 's|@''HAVE_POSIX_OPENPT''@|1|g' \ -e 's|@''HAVE_PTSNAME''@|1|g' \ -e 's|@''HAVE_PTSNAME_R''@|1|g' \ -e 's|@''HAVE_QSORT_R''@|1|g' \ -e 's|@''HAVE_RANDOM''@|1|g' \ -e 's|@''HAVE_RANDOM_H''@|1|g' \ -e 's|@''HAVE_RANDOM_R''@|1|g' \ -e 's|@''HAVE_REALLOCARRAY''@|1|g' \ -e 's|@''HAVE_REALPATH''@|1|g' \ -e 's|@''HAVE_RPMATCH''@|1|g' \ -e 's|@''HAVE_SECURE_GETENV''@|1|g' \ -e 's|@''HAVE_DECL_SETENV''@|1|g' \ -e 's|@''HAVE_SETSTATE''@|1|g' \ -e 's|@''HAVE_DECL_SETSTATE''@|1|g' \ -e 's|@''HAVE_STRTOD''@|1|g' \ -e 's|@''HAVE_STRTOL''@|1|g' \ -e 's|@''HAVE_STRTOLD''@|1|g' \ -e 's|@''HAVE_STRTOLL''@|1|g' \ -e 's|@''HAVE_STRTOUL''@|1|g' \ -e 's|@''HAVE_STRTOULL''@|1|g' \ -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|1|g' \ -e 's|@''HAVE_SYS_LOADAVG_H''@|0|g' \ -e 's|@''HAVE_UNLOCKPT''@|1|g' \ -e 's|@''HAVE_DECL_UNSETENV''@|1|g' \ -e 's|@''REPLACE__EXIT''@|0|g' \ -e 's|@''REPLACE_ALIGNED_ALLOC''@|0|g' \ -e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|0|g' \ -e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|0|g' \ -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|0|g' \ -e 's|@''REPLACE_FREE''@|0|g' \ -e 's|@''REPLACE_GETLOADAVG''@|0|g' \ -e 's|@''REPLACE_GETPROGNAME''@|0|g' \ -e 's|@''REPLACE_GETSUBOPT''@|0|g' \ -e 's|@''REPLACE_INITSTATE''@|0|g' \ -e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|0|g' \ -e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|0|g' \ -e 's|@''REPLACE_MBTOWC''@|0|g' \ -e 's|@''REPLACE_MKOSTEMP''@|0|g' \ -e 's|@''REPLACE_MKOSTEMPS''@|0|g' \ -e 's|@''REPLACE_MKSTEMP''@|0|g' \ -e 's|@''REPLACE_POSIX_MEMALIGN''@|0|g' \ -e 's|@''REPLACE_POSIX_OPENPT''@|0|g' \ -e 's|@''REPLACE_PTSNAME''@|0|g' \ -e 's|@''REPLACE_PTSNAME_R''@|0|g' \ -e 's|@''REPLACE_PUTENV''@|0|g' \ -e 's|@''REPLACE_QSORT_R''@|0|g' \ -e 's|@''REPLACE_RANDOM''@|0|g' \ -e 's|@''REPLACE_RANDOM_R''@|0|g' \ -e 's|@''REPLACE_REALLOC_FOR_REALLOC_GNU''@|0|g' \ -e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|0|g' \ -e 's|@''REPLACE_REALLOCARRAY''@|0|g' \ -e 's|@''REPLACE_REALPATH''@|0|g' \ -e 's|@''REPLACE_SETENV''@|0|g' \ -e 's|@''REPLACE_SETSTATE''@|0|g' \ -e 's|@''REPLACE_STRTOD''@|0|g' \ -e 's|@''REPLACE_STRTOL''@|0|g' \ -e 's|@''REPLACE_STRTOLD''@|0|g' \ -e 's|@''REPLACE_STRTOLL''@|0|g' \ -e 's|@''REPLACE_STRTOUL''@|0|g' \ -e 's|@''REPLACE_STRTOULL''@|0|g' \ -e 's|@''REPLACE_UNSETENV''@|0|g' \ -e 's|@''REPLACE_WCTOMB''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _Noreturn/r ./_Noreturn.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ > stdlib.h-t mv stdlib.h-t stdlib.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_STRING_H''@|<string.h>|g' \ -e 's/@''GNULIB_EXPLICIT_BZERO''@/1/g' \ -e 's/@''GNULIB_FFSL''@/0/g' \ -e 's/@''GNULIB_FFSLL''@/0/g' \ -e 's/@''GNULIB_MBSLEN''@/0/g' \ -e 's/@''GNULIB_MBSNLEN''@/0/g' \ -e 's/@''GNULIB_MBSCHR''@/0/g' \ -e 's/@''GNULIB_MBSRCHR''@/0/g' \ -e 's/@''GNULIB_MBSSTR''@/0/g' \ -e 's/@''GNULIB_MBSCASECMP''@/0/g' \ -e 's/@''GNULIB_MBSNCASECMP''@/0/g' \ -e 's/@''GNULIB_MBSPCASECMP''@/0/g' \ -e 's/@''GNULIB_MBSCASESTR''@/0/g' \ -e 's/@''GNULIB_MBSCSPN''@/0/g' \ -e 's/@''GNULIB_MBSPBRK''@/0/g' \ -e 's/@''GNULIB_MBSSPN''@/0/g' \ -e 's/@''GNULIB_MBSSEP''@/0/g' \ -e 's/@''GNULIB_MBSTOK_R''@/0/g' \ -e 's/@''GNULIB_MEMCHR''@/1/g' \ -e 's/@''GNULIB_MEMMEM''@/1/g' \ -e 's/@''GNULIB_MEMPCPY''@/1/g' \ -e 's/@''GNULIB_MEMRCHR''@/0/g' \ -e 's/@''GNULIB_MEMSET_EXPLICIT''@/1/g' \ -e 's/@''GNULIB_RAWMEMCHR''@/1/g' \ -e 's/@''GNULIB_STPCPY''@/1/g' \ -e 's/@''GNULIB_STPNCPY''@/0/g' \ -e 's/@''GNULIB_STRCHRNUL''@/0/g' \ -e 's/@''GNULIB_STRDUP''@/1/g' \ -e 's/@''GNULIB_STRNCAT''@/0/g' \ -e 's/@''GNULIB_STRNDUP''@/1/g' \ -e 's/@''GNULIB_STRNLEN''@/1/g' \ -e 's/@''GNULIB_STRPBRK''@/0/g' \ -e 's/@''GNULIB_STRSEP''@/0/g' \ -e 's/@''GNULIB_STRSTR''@/0/g' \ -e 's/@''GNULIB_STRCASESTR''@/0/g' \ -e 's/@''GNULIB_STRTOK_R''@/1/g' \ -e 's/@''GNULIB_STRERROR''@/0/g' \ -e 's/@''GNULIB_STRERROR_R''@/0/g' \ -e 's/@''GNULIB_STRERRORNAME_NP''@/0/g' \ -e 's/@''GNULIB_SIGABBREV_NP''@/0/g' \ -e 's/@''GNULIB_SIGDESCR_NP''@/0/g' \ -e 's/@''GNULIB_STRSIGNAL''@/0/g' \ -e 's/@''GNULIB_STRVERSCMP''@/1/g' \ -e 's/@''GNULIB_MDA_MEMCCPY''@/1/g' \ -e 's/@''GNULIB_MDA_STRDUP''@/1/g' \ -e 's/@''GNULIB_FREE_POSIX''@/1/g' \ < ./string.in.h | \ sed -e 's|@''HAVE_EXPLICIT_BZERO''@|1|g' \ -e 's|@''HAVE_FFSL''@|1|g' \ -e 's|@''HAVE_FFSLL''@|1|g' \ -e 's|@''HAVE_MBSLEN''@|0|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \ -e 's|@''HAVE_MEMPCPY''@|1|g' \ -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \ -e 's|@''HAVE_MEMSET_EXPLICIT''@|0|g' \ -e 's|@''HAVE_RAWMEMCHR''@|1|g' \ -e 's|@''HAVE_STPCPY''@|1|g' \ -e 's|@''HAVE_STPNCPY''@|1|g' \ -e 's|@''HAVE_STRCHRNUL''@|1|g' \ -e 's|@''HAVE_DECL_STRDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \ -e 's|@''HAVE_STRPBRK''@|1|g' \ -e 's|@''HAVE_STRSEP''@|1|g' \ -e 's|@''HAVE_STRCASESTR''@|1|g' \ -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \ -e 's|@''HAVE_DECL_STRERROR_R''@|1|g' \ -e 's|@''HAVE_STRERRORNAME_NP''@|1|g' \ -e 's|@''HAVE_SIGABBREV_NP''@|1|g' \ -e 's|@''HAVE_SIGDESCR_NP''@|1|g' \ -e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \ -e 's|@''HAVE_STRVERSCMP''@|1|g' \ -e 's|@''REPLACE_FFSLL''@|0|g' \ -e 's|@''REPLACE_MEMCHR''@|0|g' \ -e 's|@''REPLACE_MEMMEM''@|0|g' \ -e 's|@''REPLACE_MEMPCPY''@|0|g' \ -e 's|@''REPLACE_FREE''@|0|g' \ -e 's|@''REPLACE_STPCPY''@|0|g' \ -e 's|@''REPLACE_STPNCPY''@|0|g' \ -e 's|@''REPLACE_STRCHRNUL''@|0|g' \ -e 's|@''REPLACE_STRDUP''@|0|g' \ -e 's|@''REPLACE_STRNCAT''@|0|g' \ -e 's|@''REPLACE_STRNDUP''@|0|g' \ -e 's|@''REPLACE_STRNLEN''@|0|g' \ -e 's|@''REPLACE_STRSTR''@|0|g' \ -e 's|@''REPLACE_STRCASESTR''@|0|g' \ -e 's|@''REPLACE_STRTOK_R''@|0|g' \ -e 's|@''REPLACE_STRERROR''@|0|g' \ -e 's|@''REPLACE_STRERROR_R''@|1|g' \ -e 's|@''REPLACE_STRERRORNAME_NP''@|0|g' \ -e 's|@''REPLACE_STRSIGNAL''@|0|g' \ -e 's|@''UNDEFINE_STRTOK_R''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ > string.h-t mv string.h-t string.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_STRINGS_H''@|1|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_STRINGS_H''@|<strings.h>|g' \ -e 's/@''GNULIB_FFS''@/0/g' \ -e 's|@''HAVE_FFS''@|1|g' \ -e 's|@''HAVE_STRCASECMP''@|1|g' \ -e 's|@''HAVE_DECL_STRNCASECMP''@|1|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./strings.in.h > strings.h-t mv strings.h-t strings.h /bin/mkdir -p 'sys' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_SOCKET_H''@|<sys/socket.h>|g' \ -e 's|@''HAVE_SYS_SOCKET_H''@|1|g' \ -e 's/@''GNULIB_CLOSE''@/1/g' \ -e 's/@''GNULIB_SOCKET''@/0/g' \ -e 's/@''GNULIB_CONNECT''@/0/g' \ -e 's/@''GNULIB_ACCEPT''@/0/g' \ -e 's/@''GNULIB_BIND''@/0/g' \ -e 's/@''GNULIB_GETPEERNAME''@/0/g' \ -e 's/@''GNULIB_GETSOCKNAME''@/0/g' \ -e 's/@''GNULIB_GETSOCKOPT''@/0/g' \ -e 's/@''GNULIB_LISTEN''@/0/g' \ -e 's/@''GNULIB_RECV''@/0/g' \ -e 's/@''GNULIB_SEND''@/0/g' \ -e 's/@''GNULIB_RECVFROM''@/0/g' \ -e 's/@''GNULIB_SENDTO''@/0/g' \ -e 's/@''GNULIB_SETSOCKOPT''@/1/g' \ -e 's/@''GNULIB_SHUTDOWN''@/0/g' \ -e 's/@''GNULIB_ACCEPT4''@/0/g' \ -e 's|@''HAVE_WINSOCK2_H''@|0|g' \ -e 's|@''HAVE_WS2TCPIP_H''@|0|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|1|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|1|g' \ -e 's|@''HAVE_SA_FAMILY_T''@|1|g' \ -e 's|@''HAVE_ACCEPT4''@|1|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./sys_socket.in.h > sys/socket.h-t mv sys/socket.h-t sys/socket.h /bin/mkdir -p 'sys' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_STAT_H''@|<sys/stat.h>|g' \ -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|0|g' \ -e 's|@''WINDOWS_STAT_TIMESPEC''@|0|g' \ -e 's/@''GNULIB_CHMOD''@/0/g' \ -e 's/@''GNULIB_FCHMODAT''@/0/g' \ -e 's/@''GNULIB_FSTAT''@/1/g' \ -e 's/@''GNULIB_FSTATAT''@/0/g' \ -e 's/@''GNULIB_FUTIMENS''@/0/g' \ -e 's/@''GNULIB_GETUMASK''@/0/g' \ -e 's/@''GNULIB_LCHMOD''@/0/g' \ -e 's/@''GNULIB_LSTAT''@/0/g' \ -e 's/@''GNULIB_MKDIR''@/0/g' \ -e 's/@''GNULIB_MKDIRAT''@/0/g' \ -e 's/@''GNULIB_MKFIFO''@/0/g' \ -e 's/@''GNULIB_MKFIFOAT''@/0/g' \ -e 's/@''GNULIB_MKNOD''@/0/g' \ -e 's/@''GNULIB_MKNODAT''@/0/g' \ -e 's/@''GNULIB_STAT''@/1/g' \ -e 's/@''GNULIB_UTIMENSAT''@/0/g' \ -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/0/g' \ -e 's/@''GNULIB_MDA_CHMOD''@/1/g' \ -e 's/@''GNULIB_MDA_MKDIR''@/1/g' \ -e 's/@''GNULIB_MDA_UMASK''@/1/g' \ -e 's|@''HAVE_FCHMODAT''@|1|g' \ -e 's|@''HAVE_FSTATAT''@|1|g' \ -e 's|@''HAVE_FUTIMENS''@|1|g' \ -e 's|@''HAVE_GETUMASK''@|1|g' \ -e 's|@''HAVE_LCHMOD''@|1|g' \ -e 's|@''HAVE_LSTAT''@|1|g' \ -e 's|@''HAVE_MKDIRAT''@|1|g' \ -e 's|@''HAVE_MKFIFO''@|1|g' \ -e 's|@''HAVE_MKFIFOAT''@|1|g' \ -e 's|@''HAVE_MKNOD''@|1|g' \ -e 's|@''HAVE_MKNODAT''@|1|g' \ -e 's|@''HAVE_UTIMENSAT''@|1|g' \ -e 's|@''REPLACE_CHMOD''@|0|g' \ -e 's|@''REPLACE_FCHMODAT''@|0|g' \ -e 's|@''REPLACE_FSTAT''@|0|g' \ -e 's|@''REPLACE_FSTATAT''@|0|g' \ -e 's|@''REPLACE_FUTIMENS''@|0|g' \ -e 's|@''REPLACE_LSTAT''@|0|g' \ -e 's|@''REPLACE_MKDIR''@|0|g' \ -e 's|@''REPLACE_MKFIFO''@|0|g' \ -e 's|@''REPLACE_MKFIFOAT''@|0|g' \ -e 's|@''REPLACE_MKNOD''@|0|g' \ -e 's|@''REPLACE_MKNODAT''@|0|g' \ -e 's|@''REPLACE_STAT''@|0|g' \ -e 's|@''REPLACE_UTIMENSAT''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./sys_stat.in.h > sys/stat.h-t mv sys/stat.h-t sys/stat.h /bin/mkdir -p 'sys' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's/@''HAVE_SYS_TIME_H''@/1/g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_TIME_H''@|<sys/time.h>|g' \ -e 's/@''GNULIB_GETTIMEOFDAY''@/1/g' \ -e 's|@''HAVE_WINSOCK2_H''@|0|g' \ -e 's/@''HAVE_GETTIMEOFDAY''@/1/g' \ -e 's/@''HAVE_STRUCT_TIMEVAL''@/1/g' \ -e 's/@''REPLACE_GETTIMEOFDAY''@/0/g' \ -e 's/@''REPLACE_STRUCT_TIMEVAL''@/0/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./sys_time.in.h > sys/time.h-t mv sys/time.h-t sys/time.h /bin/mkdir -p 'sys' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_TYPES_H''@|<sys/types.h>|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \ -e 's|@''WINDOWS_STAT_INODES''@|0|g' \ ./sys_types.in.h > sys/types.h-t mv sys/types.h-t sys/types.h /bin/mkdir -p 'sys' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_UIO_H''@|<sys/uio.h>|g' \ -e 's|@''HAVE_SYS_UIO_H''@|1|g' \ ./sys_uio.in.h > sys/uio.h-t mv sys/uio.h-t sys/uio.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_TIME_H''@|<time.h>|g' \ -e 's/@''GNULIB_CTIME''@/0/g' \ -e 's/@''GNULIB_LOCALTIME''@/0/g' \ -e 's/@''GNULIB_MKTIME''@/0/g' \ -e 's/@''GNULIB_NANOSLEEP''@/0/g' \ -e 's/@''GNULIB_STRFTIME''@/0/g' \ -e 's/@''GNULIB_STRPTIME''@/0/g' \ -e 's/@''GNULIB_TIMEGM''@/0/g' \ -e 's/@''GNULIB_TIMESPEC_GET''@/0/g' \ -e 's/@''GNULIB_TIMESPEC_GETRES''@/0/g' \ -e 's/@''GNULIB_TIME_R''@/1/g' \ -e 's/@''GNULIB_TIME_RZ''@/0/g' \ -e 's/@''GNULIB_TZSET''@/0/g' \ -e 's/@''GNULIB_MDA_TZSET''@/1/g' \ -e 's|@''HAVE_DECL_LOCALTIME_R''@|1|g' \ -e 's|@''HAVE_NANOSLEEP''@|1|g' \ -e 's|@''HAVE_STRPTIME''@|1|g' \ -e 's|@''HAVE_TIMEGM''@|1|g' \ -e 's|@''HAVE_TIMESPEC_GET''@|1|g' \ -e 's|@''HAVE_TIMESPEC_GETRES''@|1|g' \ -e 's|@''HAVE_TIMEZONE_T''@|0|g' \ -e 's|@''REPLACE_CTIME''@|GNULIB_PORTCHECK|g' \ -e 's|@''REPLACE_GMTIME''@|0|g' \ -e 's|@''REPLACE_LOCALTIME''@|0|g' \ -e 's|@''REPLACE_LOCALTIME_R''@|0|g' \ -e 's|@''REPLACE_MKTIME''@|0|g' \ -e 's|@''REPLACE_NANOSLEEP''@|0|g' \ -e 's|@''REPLACE_STRFTIME''@|GNULIB_PORTCHECK|g' \ -e 's|@''REPLACE_TIMEGM''@|0|g' \ -e 's|@''REPLACE_TIMESPEC_GET''@|GNULIB_PORTCHECK|g' \ -e 's|@''REPLACE_TZSET''@|0|g' \ -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \ -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \ -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|1|g' \ -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \ -e 's|@''TIME_H_DEFINES_TIME_UTC''@|1|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./time.in.h > time.h-t mv time.h-t time.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''HAVE_UNISTD_H''@|1|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \ -e 's/@''GNULIB_ACCESS''@/0/g' \ -e 's/@''GNULIB_CHDIR''@/0/g' \ -e 's/@''GNULIB_CHOWN''@/0/g' \ -e 's/@''GNULIB_CLOSE''@/1/g' \ -e 's/@''GNULIB_COPY_FILE_RANGE''@/0/g' \ -e 's/@''GNULIB_DUP''@/0/g' \ -e 's/@''GNULIB_DUP2''@/1/g' \ -e 's/@''GNULIB_DUP3''@/0/g' \ -e 's/@''GNULIB_ENVIRON''@/0/g' \ -e 's/@''GNULIB_EUIDACCESS''@/0/g' \ -e 's/@''GNULIB_EXECL''@/0/g' \ -e 's/@''GNULIB_EXECLE''@/0/g' \ -e 's/@''GNULIB_EXECLP''@/0/g' \ -e 's/@''GNULIB_EXECV''@/0/g' \ -e 's/@''GNULIB_EXECVE''@/0/g' \ -e 's/@''GNULIB_EXECVP''@/0/g' \ -e 's/@''GNULIB_EXECVPE''@/0/g' \ -e 's/@''GNULIB_FACCESSAT''@/0/g' \ -e 's/@''GNULIB_FCHDIR''@/0/g' \ -e 's/@''GNULIB_FCHOWNAT''@/0/g' \ -e 's/@''GNULIB_FDATASYNC''@/0/g' \ -e 's/@''GNULIB_FSYNC''@/0/g' \ -e 's/@''GNULIB_FTRUNCATE''@/0/g' \ -e 's/@''GNULIB_GETCWD''@/0/g' \ -e 's/@''GNULIB_GETDOMAINNAME''@/0/g' \ -e 's/@''GNULIB_GETDTABLESIZE''@/1/g' \ -e 's/@''GNULIB_GETENTROPY''@/0/g' \ -e 's/@''GNULIB_GETGROUPS''@/0/g' \ -e 's/@''GNULIB_GETHOSTNAME''@/0/g' \ -e 's/@''GNULIB_GETLOGIN''@/0/g' \ -e 's/@''GNULIB_GETLOGIN_R''@/0/g' \ -e 's/@''GNULIB_GETOPT_POSIX''@/0/g' \ -e 's/@''GNULIB_GETPAGESIZE''@/0/g' \ -e 's/@''GNULIB_GETPASS''@/0/g' \ -e 's/@''GNULIB_GETPASS_GNU''@/0/g' \ -e 's/@''GNULIB_GETUSERSHELL''@/0/g' \ -e 's/@''GNULIB_GROUP_MEMBER''@/0/g' \ -e 's/@''GNULIB_ISATTY''@/0/g' \ -e 's/@''GNULIB_LCHOWN''@/0/g' \ -e 's/@''GNULIB_LINK''@/0/g' \ -e 's/@''GNULIB_LINKAT''@/0/g' \ -e 's/@''GNULIB_LSEEK''@/1/g' \ -e 's/@''GNULIB_PIPE''@/0/g' \ -e 's/@''GNULIB_PIPE2''@/0/g' \ -e 's/@''GNULIB_PREAD''@/0/g' \ -e 's/@''GNULIB_PWRITE''@/0/g' \ -e 's/@''GNULIB_READ''@/0/g' \ -e 's/@''GNULIB_READLINK''@/1/g' \ -e 's/@''GNULIB_READLINKAT''@/0/g' \ -e 's/@''GNULIB_RMDIR''@/0/g' \ -e 's/@''GNULIB_SETHOSTNAME''@/0/g' \ -e 's/@''GNULIB_SLEEP''@/0/g' \ -e 's/@''GNULIB_SYMLINK''@/0/g' \ -e 's/@''GNULIB_SYMLINKAT''@/0/g' \ -e 's/@''GNULIB_TRUNCATE''@/0/g' \ -e 's/@''GNULIB_TTYNAME_R''@/0/g' \ -e 's/@''GNULIB_UNISTD_H_GETOPT''@/00/g' \ -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/0/g' \ -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/0/g' \ -e 's/@''GNULIB_UNLINK''@/0/g' \ -e 's/@''GNULIB_UNLINKAT''@/0/g' \ -e 's/@''GNULIB_USLEEP''@/0/g' \ -e 's/@''GNULIB_WRITE''@/0/g' \ -e 's/@''GNULIB_MDA_ACCESS''@/1/g' \ -e 's/@''GNULIB_MDA_CHDIR''@/1/g' \ -e 's/@''GNULIB_MDA_CLOSE''@/1/g' \ -e 's/@''GNULIB_MDA_DUP''@/1/g' \ -e 's/@''GNULIB_MDA_DUP2''@/1/g' \ -e 's/@''GNULIB_MDA_EXECL''@/1/g' \ -e 's/@''GNULIB_MDA_EXECLE''@/1/g' \ -e 's/@''GNULIB_MDA_EXECLP''@/1/g' \ -e 's/@''GNULIB_MDA_EXECV''@/1/g' \ -e 's/@''GNULIB_MDA_EXECVE''@/1/g' \ -e 's/@''GNULIB_MDA_EXECVP''@/1/g' \ -e 's/@''GNULIB_MDA_EXECVPE''@/1/g' \ -e 's/@''GNULIB_MDA_GETCWD''@/1/g' \ -e 's/@''GNULIB_MDA_GETPID''@/1/g' \ -e 's/@''GNULIB_MDA_ISATTY''@/1/g' \ -e 's/@''GNULIB_MDA_LSEEK''@/1/g' \ -e 's/@''GNULIB_MDA_READ''@/1/g' \ -e 's/@''GNULIB_MDA_RMDIR''@/1/g' \ -e 's/@''GNULIB_MDA_SWAB''@/1/g' \ -e 's/@''GNULIB_MDA_UNLINK''@/1/g' \ -e 's/@''GNULIB_MDA_WRITE''@/1/g' \ < ./unistd.in.h | \ sed -e 's|@''HAVE_CHOWN''@|1|g' \ -e 's|@''HAVE_COPY_FILE_RANGE''@|1|g' \ -e 's|@''HAVE_DUP3''@|1|g' \ -e 's|@''HAVE_EUIDACCESS''@|1|g' \ -e 's|@''HAVE_EXECVPE''@|1|g' \ -e 's|@''HAVE_FACCESSAT''@|1|g' \ -e 's|@''HAVE_FCHDIR''@|1|g' \ -e 's|@''HAVE_FCHOWNAT''@|1|g' \ -e 's|@''HAVE_FDATASYNC''@|1|g' \ -e 's|@''HAVE_FSYNC''@|1|g' \ -e 's|@''HAVE_FTRUNCATE''@|1|g' \ -e 's|@''HAVE_GETDTABLESIZE''@|1|g' \ -e 's|@''HAVE_GETENTROPY''@|1|g' \ -e 's|@''HAVE_GETGROUPS''@|1|g' \ -e 's|@''HAVE_GETHOSTNAME''@|1|g' \ -e 's|@''HAVE_GETPAGESIZE''@|1|g' \ -e 's|@''HAVE_GETPASS''@|1|g' \ -e 's|@''HAVE_GROUP_MEMBER''@|1|g' \ -e 's|@''HAVE_LCHOWN''@|1|g' \ -e 's|@''HAVE_LINK''@|1|g' \ -e 's|@''HAVE_LINKAT''@|1|g' \ -e 's|@''HAVE_PIPE''@|1|g' \ -e 's|@''HAVE_PIPE2''@|1|g' \ -e 's|@''HAVE_PREAD''@|1|g' \ -e 's|@''HAVE_PWRITE''@|1|g' \ -e 's|@''HAVE_READLINK''@|1|g' \ -e 's|@''HAVE_READLINKAT''@|1|g' \ -e 's|@''HAVE_SETHOSTNAME''@|1|g' \ -e 's|@''HAVE_SLEEP''@|1|g' \ -e 's|@''HAVE_SYMLINK''@|1|g' \ -e 's|@''HAVE_SYMLINKAT''@|1|g' \ -e 's|@''HAVE_UNLINKAT''@|1|g' \ -e 's|@''HAVE_USLEEP''@|1|g' \ -e 's|@''HAVE_DECL_ENVIRON''@|1|g' \ -e 's|@''HAVE_DECL_EXECVPE''@|1|g' \ -e 's|@''HAVE_DECL_FCHDIR''@|1|g' \ -e 's|@''HAVE_DECL_FDATASYNC''@|1|g' \ -e 's|@''HAVE_DECL_GETDOMAINNAME''@|1|g' \ -e 's|@''HAVE_DECL_GETLOGIN''@|1|g' \ -e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \ -e 's|@''HAVE_DECL_GETPAGESIZE''@|1|g' \ -e 's|@''HAVE_DECL_GETUSERSHELL''@|1|g' \ -e 's|@''HAVE_DECL_SETHOSTNAME''@|1|g' \ -e 's|@''HAVE_DECL_TRUNCATE''@|1|g' \ -e 's|@''HAVE_DECL_TTYNAME_R''@|1|g' \ -e 's|@''HAVE_OS_H''@|0|g' \ -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \ | \ sed -e 's|@''REPLACE_ACCESS''@|0|g' \ -e 's|@''REPLACE_CHOWN''@|0|g' \ -e 's|@''REPLACE_CLOSE''@|0|g' \ -e 's|@''REPLACE_COPY_FILE_RANGE''@|0|g' \ -e 's|@''REPLACE_DUP''@|0|g' \ -e 's|@''REPLACE_DUP2''@|0|g' \ -e 's|@''REPLACE_DUP3''@|0|g' \ -e 's|@''REPLACE_EXECL''@|0|g' \ -e 's|@''REPLACE_EXECLE''@|0|g' \ -e 's|@''REPLACE_EXECLP''@|0|g' \ -e 's|@''REPLACE_EXECV''@|0|g' \ -e 's|@''REPLACE_EXECVE''@|0|g' \ -e 's|@''REPLACE_EXECVP''@|0|g' \ -e 's|@''REPLACE_EXECVPE''@|0|g' \ -e 's|@''REPLACE_FACCESSAT''@|0|g' \ -e 's|@''REPLACE_FCHOWNAT''@|0|g' \ -e 's|@''REPLACE_FDATASYNC''@|0|g' \ -e 's|@''REPLACE_FTRUNCATE''@|0|g' \ -e 's|@''REPLACE_GETCWD''@|0|g' \ -e 's|@''REPLACE_GETDOMAINNAME''@|0|g' \ -e 's|@''REPLACE_GETDTABLESIZE''@|0|g' \ -e 's|@''REPLACE_GETENTROPY''@|0|g' \ -e 's|@''REPLACE_GETLOGIN_R''@|0|g' \ -e 's|@''REPLACE_GETGROUPS''@|0|g' \ -e 's|@''REPLACE_GETPAGESIZE''@|0|g' \ -e 's|@''REPLACE_GETPASS''@|0|g' \ -e 's|@''REPLACE_GETPASS_FOR_GETPASS_GNU''@|0|g' \ -e 's|@''REPLACE_ISATTY''@|0|g' \ -e 's|@''REPLACE_LCHOWN''@|0|g' \ -e 's|@''REPLACE_LINK''@|0|g' \ -e 's|@''REPLACE_LINKAT''@|0|g' \ -e 's|@''REPLACE_LSEEK''@|0|g' \ -e 's|@''REPLACE_PIPE2''@|0|g' \ -e 's|@''REPLACE_PREAD''@|0|g' \ -e 's|@''REPLACE_PWRITE''@|0|g' \ -e 's|@''REPLACE_READ''@|0|g' \ -e 's|@''REPLACE_READLINK''@|0|g' \ -e 's|@''REPLACE_READLINKAT''@|0|g' \ -e 's|@''REPLACE_RMDIR''@|0|g' \ -e 's|@''REPLACE_SETHOSTNAME''@|0|g' \ -e 's|@''REPLACE_SLEEP''@|0|g' \ -e 's|@''REPLACE_SYMLINK''@|0|g' \ -e 's|@''REPLACE_SYMLINKAT''@|0|g' \ -e 's|@''REPLACE_TRUNCATE''@|0|g' \ -e 's|@''REPLACE_TTYNAME_R''@|0|g' \ -e 's|@''REPLACE_UNLINK''@|0|g' \ -e 's|@''REPLACE_UNLINKAT''@|0|g' \ -e 's|@''REPLACE_USLEEP''@|0|g' \ -e 's|@''REPLACE_WRITE''@|0|g' \ -e 's|@''UNISTD_H_HAVE_SYS_RANDOM_H''@|0|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|0|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ > unistd.h-t mv unistd.h-t unistd.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''HAVE_FEATURES_H''@|1|g' \ -e 's|@''NEXT_WCHAR_H''@|<wchar.h>|g' \ -e 's|@''HAVE_WCHAR_H''@|1|g' \ -e 's/@''HAVE_CRTDEFS_H''@/0/g' \ -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/0/g' \ -e 's/@''GNULIB_BTOWC''@/0/g' \ -e 's/@''GNULIB_WCTOB''@/0/g' \ -e 's/@''GNULIB_MBSINIT''@/0/g' \ -e 's/@''GNULIB_MBRTOWC''@/0/g' \ -e 's/@''GNULIB_MBRLEN''@/0/g' \ -e 's/@''GNULIB_MBSRTOWCS''@/0/g' \ -e 's/@''GNULIB_MBSNRTOWCS''@/0/g' \ -e 's/@''GNULIB_WCRTOMB''@/0/g' \ -e 's/@''GNULIB_WCSRTOMBS''@/0/g' \ -e 's/@''GNULIB_WCSNRTOMBS''@/0/g' \ -e 's/@''GNULIB_WCWIDTH''@/0/g' \ -e 's/@''GNULIB_WMEMCHR''@/0/g' \ -e 's/@''GNULIB_WMEMCMP''@/0/g' \ -e 's/@''GNULIB_WMEMCPY''@/0/g' \ -e 's/@''GNULIB_WMEMMOVE''@/0/g' \ -e 's/@''GNULIB_WMEMPCPY''@/0/g' \ -e 's/@''GNULIB_WMEMSET''@/0/g' \ -e 's/@''GNULIB_WCSLEN''@/0/g' \ -e 's/@''GNULIB_WCSNLEN''@/0/g' \ -e 's/@''GNULIB_WCSCPY''@/0/g' \ -e 's/@''GNULIB_WCPCPY''@/0/g' \ -e 's/@''GNULIB_WCSNCPY''@/0/g' \ -e 's/@''GNULIB_WCPNCPY''@/0/g' \ -e 's/@''GNULIB_WCSCAT''@/0/g' \ -e 's/@''GNULIB_WCSNCAT''@/0/g' \ -e 's/@''GNULIB_WCSCMP''@/0/g' \ -e 's/@''GNULIB_WCSNCMP''@/0/g' \ -e 's/@''GNULIB_WCSCASECMP''@/0/g' \ -e 's/@''GNULIB_WCSNCASECMP''@/0/g' \ -e 's/@''GNULIB_WCSCOLL''@/0/g' \ -e 's/@''GNULIB_WCSXFRM''@/0/g' \ -e 's/@''GNULIB_WCSDUP''@/0/g' \ -e 's/@''GNULIB_WCSCHR''@/0/g' \ -e 's/@''GNULIB_WCSRCHR''@/0/g' \ -e 's/@''GNULIB_WCSCSPN''@/0/g' \ -e 's/@''GNULIB_WCSSPN''@/0/g' \ -e 's/@''GNULIB_WCSPBRK''@/0/g' \ -e 's/@''GNULIB_WCSSTR''@/0/g' \ -e 's/@''GNULIB_WCSTOK''@/0/g' \ -e 's/@''GNULIB_WCSWIDTH''@/0/g' \ -e 's/@''GNULIB_WCSFTIME''@/0/g' \ -e 's/@''GNULIB_MDA_WCSDUP''@/1/g' \ -e 's/@''GNULIB_FREE_POSIX''@/1/g' \ < ./wchar.in.h | \ sed -e 's|@''HAVE_WINT_T''@|1|g' \ -e 's|@''HAVE_BTOWC''@|1|g' \ -e 's|@''HAVE_MBSINIT''@|1|g' \ -e 's|@''HAVE_MBRTOWC''@|1|g' \ -e 's|@''HAVE_MBRLEN''@|1|g' \ -e 's|@''HAVE_MBSRTOWCS''@|1|g' \ -e 's|@''HAVE_MBSNRTOWCS''@|1|g' \ -e 's|@''HAVE_WCRTOMB''@|1|g' \ -e 's|@''HAVE_WCSRTOMBS''@|1|g' \ -e 's|@''HAVE_WCSNRTOMBS''@|1|g' \ -e 's|@''HAVE_WMEMCHR''@|1|g' \ -e 's|@''HAVE_WMEMCMP''@|1|g' \ -e 's|@''HAVE_WMEMCPY''@|1|g' \ -e 's|@''HAVE_WMEMMOVE''@|1|g' \ -e 's|@''HAVE_WMEMPCPY''@|1|g' \ -e 's|@''HAVE_WMEMSET''@|1|g' \ -e 's|@''HAVE_WCSLEN''@|1|g' \ -e 's|@''HAVE_WCSNLEN''@|1|g' \ -e 's|@''HAVE_WCSCPY''@|1|g' \ -e 's|@''HAVE_WCPCPY''@|1|g' \ -e 's|@''HAVE_WCSNCPY''@|1|g' \ -e 's|@''HAVE_WCPNCPY''@|1|g' \ -e 's|@''HAVE_WCSCAT''@|1|g' \ -e 's|@''HAVE_WCSNCAT''@|1|g' \ -e 's|@''HAVE_WCSCMP''@|1|g' \ -e 's|@''HAVE_WCSNCMP''@|1|g' \ -e 's|@''HAVE_WCSCASECMP''@|1|g' \ -e 's|@''HAVE_WCSNCASECMP''@|1|g' \ -e 's|@''HAVE_WCSCOLL''@|1|g' \ -e 's|@''HAVE_WCSXFRM''@|1|g' \ -e 's|@''HAVE_WCSDUP''@|1|g' \ -e 's|@''HAVE_WCSCHR''@|1|g' \ -e 's|@''HAVE_WCSRCHR''@|1|g' \ -e 's|@''HAVE_WCSCSPN''@|1|g' \ -e 's|@''HAVE_WCSSPN''@|1|g' \ -e 's|@''HAVE_WCSPBRK''@|1|g' \ -e 's|@''HAVE_WCSSTR''@|1|g' \ -e 's|@''HAVE_WCSTOK''@|1|g' \ -e 's|@''HAVE_WCSWIDTH''@|1|g' \ -e 's|@''HAVE_WCSFTIME''@|1|g' \ -e 's|@''HAVE_DECL_WCTOB''@|1|g' \ -e 's|@''HAVE_DECL_WCSDUP''@|1|g' \ -e 's|@''HAVE_DECL_WCWIDTH''@|1|g' \ | \ sed -e 's|@''REPLACE_MBSTATE_T''@|0|g' \ -e 's|@''REPLACE_BTOWC''@|0|g' \ -e 's|@''REPLACE_WCTOB''@|0|g' \ -e 's|@''REPLACE_FREE''@|0|g' \ -e 's|@''REPLACE_MBSINIT''@|0|g' \ -e 's|@''REPLACE_MBRTOWC''@|0|g' \ -e 's|@''REPLACE_MBRLEN''@|0|g' \ -e 's|@''REPLACE_MBSRTOWCS''@|0|g' \ -e 's|@''REPLACE_MBSNRTOWCS''@|0|g' \ -e 's|@''REPLACE_WCRTOMB''@|0|g' \ -e 's|@''REPLACE_WCSRTOMBS''@|0|g' \ -e 's|@''REPLACE_WCSNRTOMBS''@|0|g' \ -e 's|@''REPLACE_WCWIDTH''@|0|g' \ -e 's|@''REPLACE_WCSWIDTH''@|0|g' \ -e 's|@''REPLACE_WCSFTIME''@|0|g' \ -e 's|@''REPLACE_WCSTOK''@|0|g' \ -e 's|@''REPLACE_WMEMPCPY''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ > wchar.h-t mv wchar.h-t wchar.h make all-recursive make[3]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/gl' make[4]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/gl' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-basename-lgpl.lo `test -f 'basename-lgpl.c' || echo './'`basename-lgpl.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c basename-lgpl.c -fPIC -DPIC -o .libs/libgnu_la-basename-lgpl.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-bitrotate.lo `test -f 'bitrotate.c' || echo './'`bitrotate.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c bitrotate.c -fPIC -DPIC -o .libs/libgnu_la-bitrotate.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-c-ctype.lo `test -f 'c-ctype.c' || echo './'`c-ctype.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c c-ctype.c -fPIC -DPIC -o .libs/libgnu_la-c-ctype.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-c-strcasecmp.lo `test -f 'c-strcasecmp.c' || echo './'`c-strcasecmp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c c-strcasecmp.c -fPIC -DPIC -o .libs/libgnu_la-c-strcasecmp.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-c-strncasecmp.lo `test -f 'c-strncasecmp.c' || echo './'`c-strncasecmp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c c-strncasecmp.c -fPIC -DPIC -o .libs/libgnu_la-c-strncasecmp.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-cloexec.lo `test -f 'cloexec.c' || echo './'`cloexec.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cloexec.c -fPIC -DPIC -o .libs/libgnu_la-cloexec.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-dirname-lgpl.lo `test -f 'dirname-lgpl.c' || echo './'`dirname-lgpl.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c dirname-lgpl.c -fPIC -DPIC -o .libs/libgnu_la-dirname-lgpl.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-stripslash.lo `test -f 'stripslash.c' || echo './'`stripslash.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c stripslash.c -fPIC -DPIC -o .libs/libgnu_la-stripslash.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-fcntl.lo `test -f 'fcntl.c' || echo './'`fcntl.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c fcntl.c -fPIC -DPIC -o .libs/libgnu_la-fcntl.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-fd-hook.lo `test -f 'fd-hook.c' || echo './'`fd-hook.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c fd-hook.c -fPIC -DPIC -o .libs/libgnu_la-fd-hook.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o malloc/libgnu_la-scratch_buffer_grow.lo `test -f 'malloc/scratch_buffer_grow.c' || echo './'`malloc/scratch_buffer_grow.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c malloc/scratch_buffer_grow.c -fPIC -DPIC -o malloc/.libs/libgnu_la-scratch_buffer_grow.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o malloc/libgnu_la-scratch_buffer_grow_preserve.lo `test -f 'malloc/scratch_buffer_grow_preserve.c' || echo './'`malloc/scratch_buffer_grow_preserve.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c malloc/scratch_buffer_grow_preserve.c -fPIC -DPIC -o malloc/.libs/libgnu_la-scratch_buffer_grow_preserve.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o malloc/libgnu_la-scratch_buffer_set_array_size.lo `test -f 'malloc/scratch_buffer_set_array_size.c' || echo './'`malloc/scratch_buffer_set_array_size.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c malloc/scratch_buffer_set_array_size.c -fPIC -DPIC -o malloc/.libs/libgnu_la-scratch_buffer_set_array_size.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-hash.lo `test -f 'hash.c' || echo './'`hash.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c hash.c -fPIC -DPIC -o .libs/libgnu_la-hash.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-hash-pjw-bare.lo `test -f 'hash-pjw-bare.c' || echo './'`hash-pjw-bare.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c hash-pjw-bare.c -fPIC -DPIC -o .libs/libgnu_la-hash-pjw-bare.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-gl_linkedhash_list.lo `test -f 'gl_linkedhash_list.c' || echo './'`gl_linkedhash_list.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gl_linkedhash_list.c -fPIC -DPIC -o .libs/libgnu_la-gl_linkedhash_list.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-gl_list.lo `test -f 'gl_list.c' || echo './'`gl_list.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gl_list.c -fPIC -DPIC -o .libs/libgnu_la-gl_list.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o glthread/libgnu_la-lock.lo `test -f 'glthread/lock.c' || echo './'`glthread/lock.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c glthread/lock.c -fPIC -DPIC -o glthread/.libs/libgnu_la-lock.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-malloca.lo `test -f 'malloca.c' || echo './'`malloca.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c malloca.c -fPIC -DPIC -o .libs/libgnu_la-malloca.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-memset_explicit.lo `test -f 'memset_explicit.c' || echo './'`memset_explicit.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c memset_explicit.c -fPIC -DPIC -o .libs/libgnu_la-memset_explicit.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-read-file.lo `test -f 'read-file.c' || echo './'`read-file.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c read-file.c -fPIC -DPIC -o .libs/libgnu_la-read-file.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-stat-time.lo `test -f 'stat-time.c' || echo './'`stat-time.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c stat-time.c -fPIC -DPIC -o .libs/libgnu_la-stat-time.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-sys_socket.lo `test -f 'sys_socket.c' || echo './'`sys_socket.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c sys_socket.c -fPIC -DPIC -o .libs/libgnu_la-sys_socket.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o glthread/libgnu_la-threadlib.lo `test -f 'glthread/threadlib.c' || echo './'`glthread/threadlib.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c glthread/threadlib.c -fPIC -DPIC -o glthread/.libs/libgnu_la-threadlib.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o glthread/libgnu_la-tls.lo `test -f 'glthread/tls.c' || echo './'`glthread/tls.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c glthread/tls.c -fPIC -DPIC -o glthread/.libs/libgnu_la-tls.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-unistd.lo `test -f 'unistd.c' || echo './'`unistd.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c unistd.c -fPIC -DPIC -o .libs/libgnu_la-unistd.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_la-xsize.lo `test -f 'xsize.c' || echo './'`xsize.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c xsize.c -fPIC -DPIC -o .libs/libgnu_la-xsize.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o asnprintf.lo asnprintf.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c asnprintf.c -fPIC -DPIC -o .libs/asnprintf.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o printf-args.lo printf-args.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c printf-args.c -fPIC -DPIC -o .libs/printf-args.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o printf-parse.lo printf-parse.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c printf-parse.c -fPIC -DPIC -o .libs/printf-parse.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o vasnprintf.lo vasnprintf.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c vasnprintf.c -fPIC -DPIC -o .libs/vasnprintf.o /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -no-undefined -o libgnu.la libgnu_la-basename-lgpl.lo libgnu_la-bitrotate.lo libgnu_la-c-ctype.lo libgnu_la-c-strcasecmp.lo libgnu_la-c-strncasecmp.lo libgnu_la-cloexec.lo libgnu_la-dirname-lgpl.lo libgnu_la-stripslash.lo libgnu_la-fcntl.lo libgnu_la-fd-hook.lo malloc/libgnu_la-scratch_buffer_grow.lo malloc/libgnu_la-scratch_buffer_grow_preserve.lo malloc/libgnu_la-scratch_buffer_set_array_size.lo libgnu_la-hash.lo libgnu_la-hash-pjw-bare.lo libgnu_la-gl_linkedhash_list.lo libgnu_la-gl_list.lo glthread/libgnu_la-lock.lo libgnu_la-malloca.lo libgnu_la-memset_explicit.lo libgnu_la-read-file.lo libgnu_la-stat-time.lo libgnu_la-sys_socket.lo glthread/libgnu_la-threadlib.lo glthread/libgnu_la-tls.lo libgnu_la-unistd.lo libgnu_la-xsize.lo asnprintf.lo printf-args.lo printf-parse.lo vasnprintf.lo libtool: link: ar cr .libs/libgnu.a .libs/libgnu_la-basename-lgpl.o .libs/libgnu_la-bitrotate.o .libs/libgnu_la-c-ctype.o .libs/libgnu_la-c-strcasecmp.o .libs/libgnu_la-c-strncasecmp.o .libs/libgnu_la-cloexec.o .libs/libgnu_la-dirname-lgpl.o .libs/libgnu_la-stripslash.o .libs/libgnu_la-fcntl.o .libs/libgnu_la-fd-hook.o malloc/.libs/libgnu_la-scratch_buffer_grow.o malloc/.libs/libgnu_la-scratch_buffer_grow_preserve.o malloc/.libs/libgnu_la-scratch_buffer_set_array_size.o .libs/libgnu_la-hash.o .libs/libgnu_la-hash-pjw-bare.o .libs/libgnu_la-gl_linkedhash_list.o .libs/libgnu_la-gl_list.o glthread/.libs/libgnu_la-lock.o .libs/libgnu_la-malloca.o .libs/libgnu_la-memset_explicit.o .libs/libgnu_la-read-file.o .libs/libgnu_la-stat-time.o .libs/libgnu_la-sys_socket.o glthread/.libs/libgnu_la-threadlib.o glthread/.libs/libgnu_la-tls.o .libs/libgnu_la-unistd.o .libs/libgnu_la-xsize.o .libs/asnprintf.o .libs/printf-args.o .libs/printf-parse.o .libs/vasnprintf.o libtool: link: ranlib .libs/libgnu.a libtool: link: ( cd ".libs" && rm -f "libgnu.la" && ln -s "../libgnu.la" "libgnu.la" ) make[4]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/gl' make[3]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/gl' make[2]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/gl' Making all in lib make[2]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib' make all-recursive make[3]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib' Making all in includes make[4]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/includes' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/includes' Making all in x509 make[4]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/x509' make all-am make[5]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/x509' /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o common.lo common.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c common.c -fPIC -DPIC -o .libs/common.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o key_encode.lo key_encode.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c key_encode.c -fPIC -DPIC -o .libs/key_encode.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o key_decode.lo key_decode.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c key_decode.c -fPIC -DPIC -o .libs/key_decode.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o time.lo time.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c time.c -fPIC -DPIC -o .libs/time.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o crl.lo crl.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c crl.c -fPIC -DPIC -o .libs/crl.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o crl_write.lo crl_write.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c crl_write.c -fPIC -DPIC -o .libs/crl_write.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o crq.lo crq.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c crq.c -fPIC -DPIC -o .libs/crq.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o dn.lo dn.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c dn.c -fPIC -DPIC -o .libs/dn.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o attributes.lo attributes.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c attributes.c -fPIC -DPIC -o .libs/attributes.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o prov-seed.lo prov-seed.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c prov-seed.c -fPIC -DPIC -o .libs/prov-seed.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o extensions.lo extensions.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c extensions.c -fPIC -DPIC -o .libs/extensions.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o mpi.lo mpi.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c mpi.c -fPIC -DPIC -o .libs/mpi.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o output.lo output.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c output.c -fPIC -DPIC -o .libs/output.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkcs12.lo pkcs12.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkcs12.c -fPIC -DPIC -o .libs/pkcs12.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkcs12_bag.lo pkcs12_bag.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkcs12_bag.c -fPIC -DPIC -o .libs/pkcs12_bag.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkcs12_encr.lo pkcs12_encr.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkcs12_encr.c -fPIC -DPIC -o .libs/pkcs12_encr.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkcs7.lo pkcs7.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkcs7.c -fPIC -DPIC -o .libs/pkcs7.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkcs7-attrs.lo pkcs7-attrs.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkcs7-attrs.c -fPIC -DPIC -o .libs/pkcs7-attrs.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkcs7-crypt.lo pkcs7-crypt.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkcs7-crypt.c -fPIC -DPIC -o .libs/pkcs7-crypt.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o privkey.lo privkey.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c privkey.c -fPIC -DPIC -o .libs/privkey.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o privkey_pkcs8.lo privkey_pkcs8.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c privkey_pkcs8.c -fPIC -DPIC -o .libs/privkey_pkcs8.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o privkey_pkcs8_pbes1.lo privkey_pkcs8_pbes1.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c privkey_pkcs8_pbes1.c -fPIC -DPIC -o .libs/privkey_pkcs8_pbes1.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o privkey_openssl.lo privkey_openssl.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c privkey_openssl.c -fPIC -DPIC -o .libs/privkey_openssl.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o hostname-verify.lo hostname-verify.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c hostname-verify.c -fPIC -DPIC -o .libs/hostname-verify.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sign.lo sign.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c sign.c -fPIC -DPIC -o .libs/sign.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o verify.lo verify.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c verify.c -fPIC -DPIC -o .libs/verify.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o x509.lo x509.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c x509.c -fPIC -DPIC -o .libs/x509.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o x509_dn.lo x509_dn.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c x509_dn.c -fPIC -DPIC -o .libs/x509_dn.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o x509_write.lo x509_write.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c x509_write.c -fPIC -DPIC -o .libs/x509_write.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o name_constraints.lo name_constraints.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c name_constraints.c -fPIC -DPIC -o .libs/name_constraints.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o verify-high.lo verify-high.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c verify-high.c -fPIC -DPIC -o .libs/verify-high.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o verify-high2.lo verify-high2.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c verify-high2.c -fPIC -DPIC -o .libs/verify-high2.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o x509_ext.lo x509_ext.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c x509_ext.c -fPIC -DPIC -o .libs/x509_ext.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o email-verify.lo email-verify.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c email-verify.c -fPIC -DPIC -o .libs/email-verify.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkcs7-output.lo pkcs7-output.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkcs7-output.c -fPIC -DPIC -o .libs/pkcs7-output.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o virt-san.lo virt-san.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c virt-san.c -fPIC -DPIC -o .libs/virt-san.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o spki.lo spki.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c spki.c -fPIC -DPIC -o .libs/spki.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls_features.lo tls_features.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls_features.c -fPIC -DPIC -o .libs/tls_features.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o krb5.lo krb5.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c krb5.c -fPIC -DPIC -o .libs/krb5.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o ip.lo ip.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ip.c -fPIC -DPIC -o .libs/ip.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o ocsp.lo ocsp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ocsp.c -fPIC -DPIC -o .libs/ocsp.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o ocsp_output.lo ocsp_output.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ocsp_output.c -fPIC -DPIC -o .libs/ocsp_output.o /bin/sh ../../libtool --tag=CC --mode=link i586-alt-linux-gcc -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libgnutls_x509.la common.lo key_encode.lo key_decode.lo time.lo crl.lo crl_write.lo crq.lo dn.lo attributes.lo prov-seed.lo extensions.lo mpi.lo output.lo pkcs12.lo pkcs12_bag.lo pkcs12_encr.lo pkcs7.lo pkcs7-attrs.lo pkcs7-crypt.lo privkey.lo privkey_pkcs8.lo privkey_pkcs8_pbes1.lo privkey_openssl.lo hostname-verify.lo sign.lo verify.lo x509.lo x509_dn.lo x509_write.lo name_constraints.lo verify-high.lo verify-high2.lo x509_ext.lo email-verify.lo pkcs7-output.lo virt-san.lo spki.lo tls_features.lo krb5.lo ip.lo ocsp.lo ocsp_output.lo libtool: link: ar cr .libs/libgnutls_x509.a .libs/common.o .libs/key_encode.o .libs/key_decode.o .libs/time.o .libs/crl.o .libs/crl_write.o .libs/crq.o .libs/dn.o .libs/attributes.o .libs/prov-seed.o .libs/extensions.o .libs/mpi.o .libs/output.o .libs/pkcs12.o .libs/pkcs12_bag.o .libs/pkcs12_encr.o .libs/pkcs7.o .libs/pkcs7-attrs.o .libs/pkcs7-crypt.o .libs/privkey.o .libs/privkey_pkcs8.o .libs/privkey_pkcs8_pbes1.o .libs/privkey_openssl.o .libs/hostname-verify.o .libs/sign.o .libs/verify.o .libs/x509.o .libs/x509_dn.o .libs/x509_write.o .libs/name_constraints.o .libs/verify-high.o .libs/verify-high2.o .libs/x509_ext.o .libs/email-verify.o .libs/pkcs7-output.o .libs/virt-san.o .libs/spki.o .libs/tls_features.o .libs/krb5.o .libs/ip.o .libs/ocsp.o .libs/ocsp_output.o libtool: link: ranlib .libs/libgnutls_x509.a libtool: link: ( cd ".libs" && rm -f "libgnutls_x509.la" && ln -s "../libgnutls_x509.la" "libgnutls_x509.la" ) make[5]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/x509' make[4]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/x509' Making all in auth make[4]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/auth' /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o anon.lo anon.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c anon.c -fPIC -DPIC -o .libs/anon.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cert.lo cert.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cert.c -fPIC -DPIC -o .libs/cert.o In file included from cert.c:28: cert.c: In function 'find_x509_client_cert': ./../gnutls_int.h:258:25: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 258 | if (len < x) { \ | ^ ./../gnutls_int.h:255:38: note: in expansion of macro 'DECR_LENGTH_COM' 255 | #define DECR_LENGTH_RET(len, x, RET) DECR_LENGTH_COM(len, x, return RET) | ^~~~~~~~~~~~~~~ cert.c:231:17: note: in expansion of macro 'DECR_LENGTH_RET' 231 | DECR_LENGTH_RET(data_size, size, 0); | ^~~~~~~~~~~~~~~ cert.c: In function 'get_issuers_num': ./../gnutls_int.h:258:25: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 258 | if (len < x) { \ | ^ ./../gnutls_int.h:255:38: note: in expansion of macro 'DECR_LENGTH_COM' 255 | #define DECR_LENGTH_RET(len, x, RET) DECR_LENGTH_COM(len, x, return RET) | ^~~~~~~~~~~~~~~ cert.c:372:17: note: in expansion of macro 'DECR_LENGTH_RET' 372 | DECR_LENGTH_RET(data_size, size, | ^~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o dh_common.lo dh_common.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c dh_common.c -fPIC -DPIC -o .libs/dh_common.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o dhe.lo dhe.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c dhe.c -fPIC -DPIC -o .libs/dhe.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o rsa_psk.lo rsa_psk.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c rsa_psk.c -fPIC -DPIC -o .libs/rsa_psk.o In file included from rsa_psk.c:28: rsa_psk.c: In function '_gnutls_proc_rsa_psk_client_kx': ./../gnutls_int.h:258:25: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 258 | if (len < x) { \ | ^ ./../gnutls_int.h:255:38: note: in expansion of macro 'DECR_LENGTH_COM' 255 | #define DECR_LENGTH_RET(len, x, RET) DECR_LENGTH_COM(len, x, return RET) | ^~~~~~~~~~~~~~~ ./../gnutls_int.h:246:9: note: in expansion of macro 'DECR_LENGTH_RET' 246 | DECR_LENGTH_RET(len, x, GNUTLS_E_UNEXPECTED_PACKET_LENGTH) | ^~~~~~~~~~~~~~~ rsa_psk.c:283:9: note: in expansion of macro 'DECR_LEN' 283 | DECR_LEN(data_size, username.size); | ^~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o dhe_psk.lo dhe_psk.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c dhe_psk.c -fPIC -DPIC -o .libs/dhe_psk.o In file included from dhe_psk.c:28: dhe_psk.c: In function 'proc_dhe_psk_client_kx': ./../gnutls_int.h:258:25: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 258 | if (len < x) { \ | ^ ./../gnutls_int.h:255:38: note: in expansion of macro 'DECR_LENGTH_COM' 255 | #define DECR_LENGTH_RET(len, x, RET) DECR_LENGTH_COM(len, x, return RET) | ^~~~~~~~~~~~~~~ ./../gnutls_int.h:246:9: note: in expansion of macro 'DECR_LENGTH_RET' 246 | DECR_LENGTH_RET(len, x, GNUTLS_E_UNEXPECTED_PACKET_LENGTH) | ^~~~~~~~~~~~~~~ dhe_psk.c:286:9: note: in expansion of macro 'DECR_LEN' 286 | DECR_LEN(data_size, username.size); | ^~~~~~~~ dhe_psk.c: In function 'proc_ecdhe_psk_client_kx': ./../gnutls_int.h:258:25: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 258 | if (len < x) { \ | ^ ./../gnutls_int.h:255:38: note: in expansion of macro 'DECR_LENGTH_COM' 255 | #define DECR_LENGTH_RET(len, x, RET) DECR_LENGTH_COM(len, x, return RET) | ^~~~~~~~~~~~~~~ ./../gnutls_int.h:246:9: note: in expansion of macro 'DECR_LENGTH_RET' 246 | DECR_LENGTH_RET(len, x, GNUTLS_E_UNEXPECTED_PACKET_LENGTH) | ^~~~~~~~~~~~~~~ dhe_psk.c:350:9: note: in expansion of macro 'DECR_LEN' 350 | DECR_LEN(data_size, username.size); | ^~~~~~~~ dhe_psk.c: In function 'proc_dhe_psk_server_kx': ./../gnutls_int.h:258:25: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 258 | if (len < x) { \ | ^ ./../gnutls_int.h:255:38: note: in expansion of macro 'DECR_LENGTH_COM' 255 | #define DECR_LENGTH_RET(len, x, RET) DECR_LENGTH_COM(len, x, return RET) | ^~~~~~~~~~~~~~~ ./../gnutls_int.h:246:9: note: in expansion of macro 'DECR_LENGTH_RET' 246 | DECR_LENGTH_RET(len, x, GNUTLS_E_UNEXPECTED_PACKET_LENGTH) | ^~~~~~~~~~~~~~~ dhe_psk.c:409:9: note: in expansion of macro 'DECR_LEN' 409 | DECR_LEN(data_size, hint.size); | ^~~~~~~~ dhe_psk.c: In function 'proc_ecdhe_psk_server_kx': ./../gnutls_int.h:258:25: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 258 | if (len < x) { \ | ^ ./../gnutls_int.h:255:38: note: in expansion of macro 'DECR_LENGTH_COM' 255 | #define DECR_LENGTH_RET(len, x, RET) DECR_LENGTH_COM(len, x, return RET) | ^~~~~~~~~~~~~~~ ./../gnutls_int.h:246:9: note: in expansion of macro 'DECR_LENGTH_RET' 246 | DECR_LENGTH_RET(len, x, GNUTLS_E_UNEXPECTED_PACKET_LENGTH) | ^~~~~~~~~~~~~~~ dhe_psk.c:454:9: note: in expansion of macro 'DECR_LEN' 454 | DECR_LEN(data_size, hint.size); | ^~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o psk.lo psk.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c psk.c -fPIC -DPIC -o .libs/psk.o In file included from psk.c:23: psk.c: In function '_gnutls_proc_psk_client_kx': ./../gnutls_int.h:258:25: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 258 | if (len < x) { \ | ^ ./../gnutls_int.h:255:38: note: in expansion of macro 'DECR_LENGTH_COM' 255 | #define DECR_LENGTH_RET(len, x, RET) DECR_LENGTH_COM(len, x, return RET) | ^~~~~~~~~~~~~~~ ./../gnutls_int.h:246:9: note: in expansion of macro 'DECR_LENGTH_RET' 246 | DECR_LENGTH_RET(len, x, GNUTLS_E_UNEXPECTED_PACKET_LENGTH) | ^~~~~~~~~~~~~~~ psk.c:205:9: note: in expansion of macro 'DECR_LEN' 205 | DECR_LEN(data_size, username.size); | ^~~~~~~~ psk.c: In function '_gnutls_proc_psk_server_kx': ./../gnutls_int.h:258:25: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 258 | if (len < x) { \ | ^ ./../gnutls_int.h:255:38: note: in expansion of macro 'DECR_LENGTH_COM' 255 | #define DECR_LENGTH_RET(len, x, RET) DECR_LENGTH_COM(len, x, return RET) | ^~~~~~~~~~~~~~~ ./../gnutls_int.h:246:9: note: in expansion of macro 'DECR_LENGTH_RET' 246 | DECR_LENGTH_RET(len, x, GNUTLS_E_UNEXPECTED_PACKET_LENGTH) | ^~~~~~~~~~~~~~~ psk.c:305:9: note: in expansion of macro 'DECR_LEN' 305 | DECR_LEN(data_size, hint.size); | ^~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o psk_passwd.lo psk_passwd.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c psk_passwd.c -fPIC -DPIC -o .libs/psk_passwd.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o rsa.lo rsa.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c rsa.c -fPIC -DPIC -o .libs/rsa.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o srp_kx.lo srp_kx.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c srp_kx.c -fPIC -DPIC -o .libs/srp_kx.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o srp_passwd.lo srp_passwd.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c srp_passwd.c -fPIC -DPIC -o .libs/srp_passwd.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o srp_rsa.lo srp_rsa.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c srp_rsa.c -fPIC -DPIC -o .libs/srp_rsa.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o srp_sb64.lo srp_sb64.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c srp_sb64.c -fPIC -DPIC -o .libs/srp_sb64.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o anon_ecdh.lo anon_ecdh.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c anon_ecdh.c -fPIC -DPIC -o .libs/anon_ecdh.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o ecdhe.lo ecdhe.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ecdhe.c -fPIC -DPIC -o .libs/ecdhe.o In file included from ecdhe.c:29: ecdhe.c: In function '_gnutls_proc_ecdh_common_client_kx': ./../gnutls_int.h:258:25: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 258 | if (len < x) { \ | ^ ./../gnutls_int.h:255:38: note: in expansion of macro 'DECR_LENGTH_COM' 255 | #define DECR_LENGTH_RET(len, x, RET) DECR_LENGTH_COM(len, x, return RET) | ^~~~~~~~~~~~~~~ ./../gnutls_int.h:246:9: note: in expansion of macro 'DECR_LENGTH_RET' 246 | DECR_LENGTH_RET(len, x, GNUTLS_E_UNEXPECTED_PACKET_LENGTH) | ^~~~~~~~~~~~~~~ ecdhe.c:158:9: note: in expansion of macro 'DECR_LEN' 158 | DECR_LEN(data_size, point_size); | ^~~~~~~~ ecdhe.c: In function '_gnutls_proc_ecdh_common_server_kx': ./../gnutls_int.h:258:25: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 258 | if (len < x) { \ | ^ ./../gnutls_int.h:255:38: note: in expansion of macro 'DECR_LENGTH_COM' 255 | #define DECR_LENGTH_RET(len, x, RET) DECR_LENGTH_COM(len, x, return RET) | ^~~~~~~~~~~~~~~ ./../gnutls_int.h:246:9: note: in expansion of macro 'DECR_LENGTH_RET' 246 | DECR_LENGTH_RET(len, x, GNUTLS_E_UNEXPECTED_PACKET_LENGTH) | ^~~~~~~~~~~~~~~ ecdhe.c:369:9: note: in expansion of macro 'DECR_LEN' 369 | DECR_LEN(data_size, point_size); | ^~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o vko_gost.lo vko_gost.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c vko_gost.c -fPIC -DPIC -o .libs/vko_gost.o /bin/sh ../../libtool --tag=CC --mode=link i586-alt-linux-gcc -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libgnutls_auth.la anon.lo cert.lo dh_common.lo dhe.lo rsa_psk.lo dhe_psk.lo psk.lo psk_passwd.lo rsa.lo srp_kx.lo srp_passwd.lo srp_rsa.lo srp_sb64.lo anon_ecdh.lo ecdhe.lo vko_gost.lo libtool: link: ar cr .libs/libgnutls_auth.a .libs/anon.o .libs/cert.o .libs/dh_common.o .libs/dhe.o .libs/rsa_psk.o .libs/dhe_psk.o .libs/psk.o .libs/psk_passwd.o .libs/rsa.o .libs/srp_kx.o .libs/srp_passwd.o .libs/srp_rsa.o .libs/srp_sb64.o .libs/anon_ecdh.o .libs/ecdhe.o .libs/vko_gost.o libtool: link: ranlib .libs/libgnutls_auth.a libtool: link: ( cd ".libs" && rm -f "libgnutls_auth.la" && ln -s "../libgnutls_auth.la" "libgnutls_auth.la" ) make[4]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/auth' Making all in ext make[4]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/ext' /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o max_record.lo max_record.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c max_record.c -fPIC -DPIC -o .libs/max_record.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o server_name.lo server_name.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c server_name.c -fPIC -DPIC -o .libs/server_name.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o signature.lo signature.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c signature.c -fPIC -DPIC -o .libs/signature.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o safe_renegotiation.lo safe_renegotiation.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c safe_renegotiation.c -fPIC -DPIC -o .libs/safe_renegotiation.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o session_ticket.lo session_ticket.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c session_ticket.c -fPIC -DPIC -o .libs/session_ticket.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o srp.lo srp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c srp.c -fPIC -DPIC -o .libs/srp.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o heartbeat.lo heartbeat.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c heartbeat.c -fPIC -DPIC -o .libs/heartbeat.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o status_request.lo status_request.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c status_request.c -fPIC -DPIC -o .libs/status_request.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o dumbfw.lo dumbfw.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c dumbfw.c -fPIC -DPIC -o .libs/dumbfw.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o ext_master_secret.lo ext_master_secret.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ext_master_secret.c -fPIC -DPIC -o .libs/ext_master_secret.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o etm.lo etm.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c etm.c -fPIC -DPIC -o .libs/etm.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o supported_versions.lo supported_versions.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c supported_versions.c -fPIC -DPIC -o .libs/supported_versions.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o post_handshake.lo post_handshake.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c post_handshake.c -fPIC -DPIC -o .libs/post_handshake.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o key_share.lo key_share.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c key_share.c -fPIC -DPIC -o .libs/key_share.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cookie.lo cookie.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cookie.c -fPIC -DPIC -o .libs/cookie.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o psk_ke_modes.lo psk_ke_modes.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c psk_ke_modes.c -fPIC -DPIC -o .libs/psk_ke_modes.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pre_shared_key.lo pre_shared_key.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pre_shared_key.c -fPIC -DPIC -o .libs/pre_shared_key.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o supported_groups.lo supported_groups.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c supported_groups.c -fPIC -DPIC -o .libs/supported_groups.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o ec_point_formats.lo ec_point_formats.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ec_point_formats.c -fPIC -DPIC -o .libs/ec_point_formats.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o early_data.lo early_data.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c early_data.c -fPIC -DPIC -o .libs/early_data.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o record_size_limit.lo record_size_limit.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c record_size_limit.c -fPIC -DPIC -o .libs/record_size_limit.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o client_cert_type.lo client_cert_type.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c client_cert_type.c -fPIC -DPIC -o .libs/client_cert_type.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o server_cert_type.lo server_cert_type.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c server_cert_type.c -fPIC -DPIC -o .libs/server_cert_type.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o compress_certificate.lo compress_certificate.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c compress_certificate.c -fPIC -DPIC -o .libs/compress_certificate.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o alpn.lo alpn.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c alpn.c -fPIC -DPIC -o .libs/alpn.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o srtp.lo srtp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c srtp.c -fPIC -DPIC -o .libs/srtp.o /bin/sh ../../libtool --tag=CC --mode=link i586-alt-linux-gcc -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libgnutls_ext.la max_record.lo server_name.lo signature.lo safe_renegotiation.lo session_ticket.lo srp.lo heartbeat.lo status_request.lo dumbfw.lo ext_master_secret.lo etm.lo supported_versions.lo post_handshake.lo key_share.lo cookie.lo psk_ke_modes.lo pre_shared_key.lo supported_groups.lo ec_point_formats.lo early_data.lo record_size_limit.lo client_cert_type.lo server_cert_type.lo compress_certificate.lo alpn.lo srtp.lo libtool: link: ar cr .libs/libgnutls_ext.a .libs/max_record.o .libs/server_name.o .libs/signature.o .libs/safe_renegotiation.o .libs/session_ticket.o .libs/srp.o .libs/heartbeat.o .libs/status_request.o .libs/dumbfw.o .libs/ext_master_secret.o .libs/etm.o .libs/supported_versions.o .libs/post_handshake.o .libs/key_share.o .libs/cookie.o .libs/psk_ke_modes.o .libs/pre_shared_key.o .libs/supported_groups.o .libs/ec_point_formats.o .libs/early_data.o .libs/record_size_limit.o .libs/client_cert_type.o .libs/server_cert_type.o .libs/compress_certificate.o .libs/alpn.o .libs/srtp.o libtool: link: ranlib .libs/libgnutls_ext.a libtool: link: ( cd ".libs" && rm -f "libgnutls_ext.la" && ln -s "../libgnutls_ext.la" "libgnutls_ext.la" ) make[4]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/ext' Making all in algorithms make[4]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/algorithms' /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cert_types.lo cert_types.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cert_types.c -fPIC -DPIC -o .libs/cert_types.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o ciphers.lo ciphers.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ciphers.c -fPIC -DPIC -o .libs/ciphers.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o ciphersuites.lo ciphersuites.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ciphersuites.c -fPIC -DPIC -o .libs/ciphersuites.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o ecc.lo ecc.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ecc.c -fPIC -DPIC -o .libs/ecc.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o kx.lo kx.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c kx.c -fPIC -DPIC -o .libs/kx.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o mac.lo mac.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c mac.c -fPIC -DPIC -o .libs/mac.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o protocols.lo protocols.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c protocols.c -fPIC -DPIC -o .libs/protocols.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o publickey.lo publickey.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c publickey.c -fPIC -DPIC -o .libs/publickey.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o secparams.lo secparams.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c secparams.c -fPIC -DPIC -o .libs/secparams.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sign.lo sign.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c sign.c -fPIC -DPIC -o .libs/sign.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o groups.lo groups.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c groups.c -fPIC -DPIC -o .libs/groups.o /bin/sh ../../libtool --tag=CC --mode=link i586-alt-linux-gcc -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libgnutls_alg.la cert_types.lo ciphers.lo ciphersuites.lo ecc.lo kx.lo mac.lo protocols.lo publickey.lo secparams.lo sign.lo groups.lo libtool: link: ar cr .libs/libgnutls_alg.a .libs/cert_types.o .libs/ciphers.o .libs/ciphersuites.o .libs/ecc.o .libs/kx.o .libs/mac.o .libs/protocols.o .libs/publickey.o .libs/secparams.o .libs/sign.o .libs/groups.o libtool: link: ranlib .libs/libgnutls_alg.a libtool: link: ( cd ".libs" && rm -f "libgnutls_alg.la" && ln -s "../libgnutls_alg.la" "libgnutls_alg.la" ) make[4]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/algorithms' Making all in extras make[4]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/extras' /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o randomart.lo randomart.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c randomart.c -fPIC -DPIC -o .libs/randomart.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o hex.lo hex.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c hex.c -fPIC -DPIC -o .libs/hex.o /bin/sh ../../libtool --tag=CC --mode=link i586-alt-linux-gcc -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libgnutls_extras.la randomart.lo hex.lo libtool: link: ar cr .libs/libgnutls_extras.a .libs/randomart.o .libs/hex.o libtool: link: ranlib .libs/libgnutls_extras.a libtool: link: ( cd ".libs" && rm -f "libgnutls_extras.la" && ln -s "../libgnutls_extras.la" "libgnutls_extras.la" ) make[4]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/extras' Making all in accelerated make[4]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/accelerated' Making all in x86 make[5]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/accelerated/x86' /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o x86-common.lo x86-common.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c x86-common.c -fPIC -DPIC -o .libs/x86-common.o In file included from x86-common.c:33: ./aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ x86-common.c: At top level: x86-common.c:322:12: warning: 'check_fast_pclmul' defined but not used [-Wunused-function] 322 | static int check_fast_pclmul(void) | ^~~~~~~~~~~~~~~~~ /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sha-x86-ssse3.lo sha-x86-ssse3.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c sha-x86-ssse3.c -fPIC -DPIC -o .libs/sha-x86-ssse3.o In file included from sha-x86-ssse3.c:27: ./aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o hmac-x86-ssse3.lo hmac-x86-ssse3.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c hmac-x86-ssse3.c -fPIC -DPIC -o .libs/hmac-x86-ssse3.o In file included from hmac-x86-ssse3.c:33: ./aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o aes-gcm-x86-ssse3.lo aes-gcm-x86-ssse3.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c aes-gcm-x86-ssse3.c -fPIC -DPIC -o .libs/aes-gcm-x86-ssse3.o In file included from aes-gcm-x86-ssse3.c:35: ./aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o aes-gcm-x86-aesni.lo aes-gcm-x86-aesni.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c aes-gcm-x86-aesni.c -fPIC -DPIC -o .libs/aes-gcm-x86-aesni.o In file included from aes-gcm-x86-aesni.c:35: ./aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o aes-cbc-x86-ssse3.lo aes-cbc-x86-ssse3.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c aes-cbc-x86-ssse3.c -fPIC -DPIC -o .libs/aes-cbc-x86-ssse3.o In file included from aes-cbc-x86-ssse3.c:33: ./aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o aes-cbc-x86-aesni.lo aes-cbc-x86-aesni.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c aes-cbc-x86-aesni.c -fPIC -DPIC -o .libs/aes-cbc-x86-aesni.o In file included from aes-cbc-x86-aesni.c:33: ./aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o aes-ccm-x86-aesni.lo aes-ccm-x86-aesni.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c aes-ccm-x86-aesni.c -fPIC -DPIC -o .libs/aes-ccm-x86-aesni.o In file included from aes-ccm-x86-aesni.c:35: ./aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o aes-xts-x86-aesni.lo aes-xts-x86-aesni.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c aes-xts-x86-aesni.c -fPIC -DPIC -o .libs/aes-xts-x86-aesni.o In file included from aes-xts-x86-aesni.c:33: ./aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sha-padlock.lo sha-padlock.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c sha-padlock.c -fPIC -DPIC -o .libs/sha-padlock.o In file included from ./aes-padlock.h:5, from sha-padlock.c:30: ./aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o hmac-padlock.lo hmac-padlock.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c hmac-padlock.c -fPIC -DPIC -o .libs/hmac-padlock.o In file included from ./aes-padlock.h:5, from hmac-padlock.c:34: ./aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o aes-padlock.lo aes-padlock.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c aes-padlock.c -fPIC -DPIC -o .libs/aes-padlock.o In file included from aes-padlock.c:33: ./aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../../libtool --tag=CC --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o aes-gcm-padlock.lo aes-gcm-padlock.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I./../../../gl -I./../../../gl -I./../../includes -I./../../includes -I./../../ -I./../ -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c aes-gcm-padlock.c -fPIC -DPIC -o .libs/aes-gcm-padlock.o In file included from aes-gcm-padlock.c:34: ./aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o elf/aesni-x86.lo elf/aesni-x86.s libtool: compile: i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c elf/aesni-x86.s -fPIC -DPIC -o elf/.libs/aesni-x86.o /bin/sh ../../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o elf/sha1-ssse3-x86.lo elf/sha1-ssse3-x86.s libtool: compile: i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c elf/sha1-ssse3-x86.s -fPIC -DPIC -o elf/.libs/sha1-ssse3-x86.o /bin/sh ../../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o elf/sha256-ssse3-x86.lo elf/sha256-ssse3-x86.s libtool: compile: i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c elf/sha256-ssse3-x86.s -fPIC -DPIC -o elf/.libs/sha256-ssse3-x86.o /bin/sh ../../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o elf/sha512-ssse3-x86.lo elf/sha512-ssse3-x86.s libtool: compile: i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c elf/sha512-ssse3-x86.s -fPIC -DPIC -o elf/.libs/sha512-ssse3-x86.o /bin/sh ../../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o elf/aes-ssse3-x86.lo elf/aes-ssse3-x86.s libtool: compile: i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c elf/aes-ssse3-x86.s -fPIC -DPIC -o elf/.libs/aes-ssse3-x86.o /bin/sh ../../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o elf/e_padlock-x86.lo elf/e_padlock-x86.s libtool: compile: i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c elf/e_padlock-x86.s -fPIC -DPIC -o elf/.libs/e_padlock-x86.o /bin/sh ../../../libtool --tag=CC --tag=CC --mode=link i586-alt-linux-gcc -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86_32 -DASM_X86 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libx86.la x86-common.lo sha-x86-ssse3.lo hmac-x86-ssse3.lo aes-gcm-x86-ssse3.lo aes-gcm-x86-aesni.lo aes-cbc-x86-ssse3.lo aes-cbc-x86-aesni.lo aes-ccm-x86-aesni.lo aes-xts-x86-aesni.lo sha-padlock.lo hmac-padlock.lo aes-padlock.lo aes-gcm-padlock.lo elf/aesni-x86.lo elf/sha1-ssse3-x86.lo elf/sha256-ssse3-x86.lo elf/sha512-ssse3-x86.lo elf/aes-ssse3-x86.lo elf/e_padlock-x86.lo libtool: link: ar cr .libs/libx86.a .libs/x86-common.o .libs/sha-x86-ssse3.o .libs/hmac-x86-ssse3.o .libs/aes-gcm-x86-ssse3.o .libs/aes-gcm-x86-aesni.o .libs/aes-cbc-x86-ssse3.o .libs/aes-cbc-x86-aesni.o .libs/aes-ccm-x86-aesni.o .libs/aes-xts-x86-aesni.o .libs/sha-padlock.o .libs/hmac-padlock.o .libs/aes-padlock.o .libs/aes-gcm-padlock.o elf/.libs/aesni-x86.o elf/.libs/sha1-ssse3-x86.o elf/.libs/sha256-ssse3-x86.o elf/.libs/sha512-ssse3-x86.o elf/.libs/aes-ssse3-x86.o elf/.libs/e_padlock-x86.o libtool: link: ranlib .libs/libx86.a libtool: link: ( cd ".libs" && rm -f "libx86.la" && ln -s "../libx86.la" "libx86.la" ) make[5]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/accelerated/x86' make[5]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/accelerated' /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../../gl -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86 -DASM_X86_32 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o accelerated.lo accelerated.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../../gl -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86 -DASM_X86_32 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c accelerated.c -fPIC -DPIC -o .libs/accelerated.o In file included from accelerated.c:26: ./x86/aes-x86.h: In function 'record_aes_gcm_encrypt_size': ./x86/aes-x86.h:32:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 32 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../../gl -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86 -DASM_X86_32 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cryptodev.lo cryptodev.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../../gl -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86 -DASM_X86_32 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cryptodev.c -fPIC -DPIC -o .libs/cryptodev.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../../gl -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86 -DASM_X86_32 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cryptodev-gcm.lo cryptodev-gcm.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../../gl -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86 -DASM_X86_32 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cryptodev-gcm.c -fPIC -DPIC -o .libs/cryptodev-gcm.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../../gl -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86 -DASM_X86_32 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o afalg.lo afalg.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../gl -I./../../gl -I./../includes -I./../../gl -I./../includes -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86 -DASM_X86_32 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c afalg.c -fPIC -DPIC -o .libs/afalg.o /bin/sh ../../libtool --tag=CC --mode=link i586-alt-linux-gcc -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -DASM_X86 -DASM_X86_32 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libaccelerated.la accelerated.lo cryptodev.lo cryptodev-gcm.lo afalg.lo x86/libx86.la libtool: link: (cd .libs/libaccelerated.lax/libx86.a && ar x "/usr/src/RPM/BUILD/gnutls-3.8.1/lib/accelerated/x86/.libs/libx86.a") libtool: link: ar cr .libs/libaccelerated.a .libs/accelerated.o .libs/cryptodev.o .libs/cryptodev-gcm.o .libs/afalg.o .libs/libaccelerated.lax/libx86.a/aes-cbc-x86-aesni.o .libs/libaccelerated.lax/libx86.a/aes-cbc-x86-ssse3.o .libs/libaccelerated.lax/libx86.a/aes-ccm-x86-aesni.o .libs/libaccelerated.lax/libx86.a/aes-gcm-padlock.o .libs/libaccelerated.lax/libx86.a/aes-gcm-x86-aesni.o .libs/libaccelerated.lax/libx86.a/aes-gcm-x86-ssse3.o .libs/libaccelerated.lax/libx86.a/aes-padlock.o .libs/libaccelerated.lax/libx86.a/aes-ssse3-x86.o .libs/libaccelerated.lax/libx86.a/aes-xts-x86-aesni.o .libs/libaccelerated.lax/libx86.a/aesni-x86.o .libs/libaccelerated.lax/libx86.a/e_padlock-x86.o .libs/libaccelerated.lax/libx86.a/hmac-padlock.o .libs/libaccelerated.lax/libx86.a/hmac-x86-ssse3.o .libs/libaccelerated.lax/libx86.a/sha-padlock.o .libs/libaccelerated.lax/libx86.a/sha-x86-ssse3.o .libs/libaccelerated.lax/libx86.a/sha1-ssse3-x86.o .libs/libaccelerated.lax/libx86.a/sha256-ssse3-x86.o .libs/libaccelerated.lax/libx86.a/sha512-ssse3-x86.o .libs/libaccelerated.lax/libx86.a/x86-common.o libtool: link: ranlib .libs/libaccelerated.a libtool: link: rm -fr .libs/libaccelerated.lax libtool: link: ( cd ".libs" && rm -f "libaccelerated.la" && ln -s "../libaccelerated.la" "libaccelerated.la" ) make[5]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/accelerated' make[4]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/accelerated' Making all in nettle make[4]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/nettle' /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pk.lo pk.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pk.c -fPIC -DPIC -o .libs/pk.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o mpi.lo mpi.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c mpi.c -fPIC -DPIC -o .libs/mpi.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o mac.lo mac.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c mac.c -fPIC -DPIC -o .libs/mac.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cipher.lo cipher.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cipher.c -fPIC -DPIC -o .libs/cipher.o cipher.c: In function 'record_aes_gcm_encrypt_size': cipher.c:128:17: warning: comparison is always false due to limited range of data type [-Wtype-limits] 128 | sum > AES_GCM_ENCRYPT_MAX_BYTES) { | ^ /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o init.lo init.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c init.c -fPIC -DPIC -o .libs/init.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o prf.lo prf.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c prf.c -fPIC -DPIC -o .libs/prf.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o rnd.lo rnd.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c rnd.c -fPIC -DPIC -o .libs/rnd.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o int/rsa-keygen-fips186.lo int/rsa-keygen-fips186.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c int/rsa-keygen-fips186.c -fPIC -DPIC -o int/.libs/rsa-keygen-fips186.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o int/provable-prime.lo int/provable-prime.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c int/provable-prime.c -fPIC -DPIC -o int/.libs/provable-prime.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o int/dsa-keygen-fips186.lo int/dsa-keygen-fips186.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c int/dsa-keygen-fips186.c -fPIC -DPIC -o int/.libs/dsa-keygen-fips186.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o int/dsa-validate.lo int/dsa-validate.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c int/dsa-validate.c -fPIC -DPIC -o int/.libs/dsa-validate.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o int/tls1-prf.lo int/tls1-prf.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c int/tls1-prf.c -fPIC -DPIC -o int/.libs/tls1-prf.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o int/dsa-compute-k.lo int/dsa-compute-k.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c int/dsa-compute-k.c -fPIC -DPIC -o int/.libs/dsa-compute-k.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o int/ecdsa-compute-k.lo int/ecdsa-compute-k.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c int/ecdsa-compute-k.c -fPIC -DPIC -o int/.libs/ecdsa-compute-k.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o int/mpn-base256.lo int/mpn-base256.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c int/mpn-base256.c -fPIC -DPIC -o int/.libs/mpn-base256.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o int/rsa-pad.lo int/rsa-pad.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c int/rsa-pad.c -fPIC -DPIC -o int/.libs/rsa-pad.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sysrng-linux.lo sysrng-linux.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c sysrng-linux.c -fPIC -DPIC -o .libs/sysrng-linux.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o rnd-fuzzer.lo rnd-fuzzer.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c rnd-fuzzer.c -fPIC -DPIC -o .libs/rnd-fuzzer.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost/write-le32.lo gost/write-le32.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost/write-le32.c -fPIC -DPIC -o gost/.libs/write-le32.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost/gost28147.lo gost/gost28147.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost/gost28147.c -fPIC -DPIC -o gost/.libs/gost28147.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost/gost-wrap.lo gost/gost-wrap.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost/gost-wrap.c -fPIC -DPIC -o gost/.libs/gost-wrap.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost/streebog.lo gost/streebog.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost/streebog.c -fPIC -DPIC -o gost/.libs/streebog.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost/streebog-meta.lo gost/streebog-meta.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost/streebog-meta.c -fPIC -DPIC -o gost/.libs/streebog-meta.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost/hmac-streebog.lo gost/hmac-streebog.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost/hmac-streebog.c -fPIC -DPIC -o gost/.libs/hmac-streebog.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost/bignum-le.lo gost/bignum-le.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost/bignum-le.c -fPIC -DPIC -o gost/.libs/bignum-le.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost/gostdsa-mask.lo gost/gostdsa-mask.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost/gostdsa-mask.c -fPIC -DPIC -o gost/.libs/gostdsa-mask.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost_keywrap.lo gost_keywrap.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost_keywrap.c -fPIC -DPIC -o .libs/gost_keywrap.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost/magma.lo gost/magma.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost/magma.c -fPIC -DPIC -o gost/.libs/magma.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost/kuznyechik.lo gost/kuznyechik.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost/kuznyechik.c -fPIC -DPIC -o gost/.libs/kuznyechik.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost/acpkm.lo gost/acpkm.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost/acpkm.c -fPIC -DPIC -o gost/.libs/acpkm.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost/cmac-magma.lo gost/cmac-magma.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost/cmac-magma.c -fPIC -DPIC -o gost/.libs/cmac-magma.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gost/cmac-kuznyechik.lo gost/cmac-kuznyechik.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I./int -I./backport -I./../../gl -I./../../gl -I./../includes -I./../includes -I./../../gl -I./.. -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gost/cmac-kuznyechik.c -fPIC -DPIC -o gost/.libs/cmac-kuznyechik.o /bin/sh ../../libtool --tag=CC --mode=link i586-alt-linux-gcc -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libcrypto.la pk.lo mpi.lo mac.lo cipher.lo init.lo prf.lo rnd.lo int/rsa-keygen-fips186.lo int/provable-prime.lo int/dsa-keygen-fips186.lo int/dsa-validate.lo int/tls1-prf.lo int/dsa-compute-k.lo int/ecdsa-compute-k.lo int/mpn-base256.lo int/rsa-pad.lo sysrng-linux.lo rnd-fuzzer.lo gost/write-le32.lo gost/gost28147.lo gost/gost-wrap.lo gost/streebog.lo gost/streebog-meta.lo gost/hmac-streebog.lo gost/bignum-le.lo gost/gostdsa-mask.lo gost_keywrap.lo gost/magma.lo gost/kuznyechik.lo gost/acpkm.lo gost/cmac-magma.lo gost/cmac-kuznyechik.lo libtool: link: ar cr .libs/libcrypto.a .libs/pk.o .libs/mpi.o .libs/mac.o .libs/cipher.o .libs/init.o .libs/prf.o .libs/rnd.o int/.libs/rsa-keygen-fips186.o int/.libs/provable-prime.o int/.libs/dsa-keygen-fips186.o int/.libs/dsa-validate.o int/.libs/tls1-prf.o int/.libs/dsa-compute-k.o int/.libs/ecdsa-compute-k.o int/.libs/mpn-base256.o int/.libs/rsa-pad.o .libs/sysrng-linux.o .libs/rnd-fuzzer.o gost/.libs/write-le32.o gost/.libs/gost28147.o gost/.libs/gost-wrap.o gost/.libs/streebog.o gost/.libs/streebog-meta.o gost/.libs/hmac-streebog.o gost/.libs/bignum-le.o gost/.libs/gostdsa-mask.o .libs/gost_keywrap.o gost/.libs/magma.o gost/.libs/kuznyechik.o gost/.libs/acpkm.o gost/.libs/cmac-magma.o gost/.libs/cmac-kuznyechik.o libtool: link: ranlib .libs/libcrypto.a libtool: link: ( cd ".libs" && rm -f "libcrypto.la" && ln -s "../libcrypto.la" "libcrypto.la" ) make[4]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib/nettle' make[4]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o range.lo range.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c range.c -fPIC -DPIC -o .libs/range.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o record.lo record.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c record.c -fPIC -DPIC -o .libs/record.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o compress.lo compress.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c compress.c -fPIC -DPIC -o .libs/compress.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o debug.lo debug.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c debug.c -fPIC -DPIC -o .libs/debug.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cipher.lo cipher.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cipher.c -fPIC -DPIC -o .libs/cipher.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o handshake-tls13.lo handshake-tls13.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c handshake-tls13.c -fPIC -DPIC -o .libs/handshake-tls13.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o mbuffers.lo mbuffers.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c mbuffers.c -fPIC -DPIC -o .libs/mbuffers.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o buffers.lo buffers.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c buffers.c -fPIC -DPIC -o .libs/buffers.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o handshake.lo handshake.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c handshake.c -fPIC -DPIC -o .libs/handshake.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o errors.lo errors.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c errors.c -fPIC -DPIC -o .libs/errors.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o dh.lo dh.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c dh.c -fPIC -DPIC -o .libs/dh.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o kx.lo kx.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c kx.c -fPIC -DPIC -o .libs/kx.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cipher-cbc.lo cipher-cbc.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cipher-cbc.c -fPIC -DPIC -o .libs/cipher-cbc.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o priority.lo priority.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c priority.c -fPIC -DPIC -o .libs/priority.o priority.c: In function 'gnutls_priority_init2': priority.c:3057:45: warning: comparison of integer expressions of different signedness: 'ptrdiff_t' {aka 'int'} and 'unsigned int' [-Wsign-compare] 3057 | if (err_pos && diff > hlen) { | ^ /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o hash_int.lo hash_int.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c hash_int.c -fPIC -DPIC -o .libs/hash_int.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cipher_int.lo cipher_int.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cipher_int.c -fPIC -DPIC -o .libs/cipher_int.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o session.lo session.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c session.c -fPIC -DPIC -o .libs/session.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o db.lo db.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c db.c -fPIC -DPIC -o .libs/db.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o x509_b64.lo x509_b64.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c x509_b64.c -fPIC -DPIC -o .libs/x509_b64.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o hello_ext.lo hello_ext.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c hello_ext.c -fPIC -DPIC -o .libs/hello_ext.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o auth.lo auth.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c auth.c -fPIC -DPIC -o .libs/auth.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o sslv2_compat.lo sslv2_compat.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c sslv2_compat.c -fPIC -DPIC -o .libs/sslv2_compat.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o datum.lo datum.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c datum.c -fPIC -DPIC -o .libs/datum.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o session_pack.lo session_pack.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c session_pack.c -fPIC -DPIC -o .libs/session_pack.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o mpi.lo mpi.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c mpi.c -fPIC -DPIC -o .libs/mpi.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pk.lo pk.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pk.c -fPIC -DPIC -o .libs/pk.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cert-cred.lo cert-cred.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cert-cred.c -fPIC -DPIC -o .libs/cert-cred.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o global.lo global.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c global.c -fPIC -DPIC -o .libs/global.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o constate.lo constate.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c constate.c -fPIC -DPIC -o .libs/constate.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o anon_cred.lo anon_cred.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c anon_cred.c -fPIC -DPIC -o .libs/anon_cred.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkix_asn1_tab.lo pkix_asn1_tab.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkix_asn1_tab.c -fPIC -DPIC -o .libs/pkix_asn1_tab.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gnutls_asn1_tab.lo gnutls_asn1_tab.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gnutls_asn1_tab.c -fPIC -DPIC -o .libs/gnutls_asn1_tab.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o mem.lo mem.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c mem.c -fPIC -DPIC -o .libs/mem.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o fingerprint.lo fingerprint.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c fingerprint.c -fPIC -DPIC -o .libs/fingerprint.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls-sig.lo tls-sig.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls-sig.c -fPIC -DPIC -o .libs/tls-sig.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o ecc.lo ecc.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ecc.c -fPIC -DPIC -o .libs/ecc.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o alert.lo alert.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c alert.c -fPIC -DPIC -o .libs/alert.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o privkey_raw.lo privkey_raw.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c privkey_raw.c -fPIC -DPIC -o .libs/privkey_raw.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o system/certs.lo system/certs.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c system/certs.c -fPIC -DPIC -o system/.libs/certs.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o system/threads.lo system/threads.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c system/threads.c -fPIC -DPIC -o system/.libs/threads.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o system/fastopen.lo system/fastopen.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c system/fastopen.c -fPIC -DPIC -o system/.libs/fastopen.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o system/sockets.lo system/sockets.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c system/sockets.c -fPIC -DPIC -o system/.libs/sockets.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o str-iconv.lo str-iconv.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c str-iconv.c -fPIC -DPIC -o .libs/str-iconv.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o system.lo system.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c system.c -fPIC -DPIC -o .libs/system.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o profiles.lo profiles.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c profiles.c -fPIC -DPIC -o .libs/profiles.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o inih/ini.lo inih/ini.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c inih/ini.c -fPIC -DPIC -o inih/.libs/ini.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o str.lo str.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c str.c -fPIC -DPIC -o .libs/str.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o str-unicode.lo str-unicode.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c str-unicode.c -fPIC -DPIC -o .libs/str-unicode.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o str-idna.lo str-idna.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c str-idna.c -fPIC -DPIC -o .libs/str-idna.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o state.lo state.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c state.c -fPIC -DPIC -o .libs/state.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cert-cred-x509.lo cert-cred-x509.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cert-cred-x509.c -fPIC -DPIC -o .libs/cert-cred-x509.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o file.lo file.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c file.c -fPIC -DPIC -o .libs/file.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o supplemental.lo supplemental.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c supplemental.c -fPIC -DPIC -o .libs/supplemental.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o random.lo random.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c random.c -fPIC -DPIC -o .libs/random.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o crypto-api.lo crypto-api.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c crypto-api.c -fPIC -DPIC -o .libs/crypto-api.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o privkey.lo privkey.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c privkey.c -fPIC -DPIC -o .libs/privkey.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pcert.lo pcert.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pcert.c -fPIC -DPIC -o .libs/pcert.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pubkey.lo pubkey.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pubkey.c -fPIC -DPIC -o .libs/pubkey.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o locks.lo locks.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c locks.c -fPIC -DPIC -o .libs/locks.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o dtls.lo dtls.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c dtls.c -fPIC -DPIC -o .libs/dtls.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o system_override.lo system_override.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c system_override.c -fPIC -DPIC -o .libs/system_override.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o crypto-backend.lo crypto-backend.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c crypto-backend.c -fPIC -DPIC -o .libs/crypto-backend.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o verify-tofu.lo verify-tofu.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c verify-tofu.c -fPIC -DPIC -o .libs/verify-tofu.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pin.lo pin.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pin.c -fPIC -DPIC -o .libs/pin.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tpm.lo tpm.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tpm.c -fPIC -DPIC -o .libs/tpm.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o fips.lo fips.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c fips.c -fPIC -DPIC -o .libs/fips.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o safe-memfuncs.lo safe-memfuncs.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c safe-memfuncs.c -fPIC -DPIC -o .libs/safe-memfuncs.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o atfork.lo atfork.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c atfork.c -fPIC -DPIC -o .libs/atfork.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o randomart.lo randomart.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c randomart.c -fPIC -DPIC -o .libs/randomart.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o urls.lo urls.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c urls.c -fPIC -DPIC -o .libs/urls.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o prf.lo prf.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c prf.c -fPIC -DPIC -o .libs/prf.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o auto-verify.lo auto-verify.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c auto-verify.c -fPIC -DPIC -o .libs/auto-verify.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o dh-session.lo dh-session.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c dh-session.c -fPIC -DPIC -o .libs/dh-session.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cert-session.lo cert-session.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cert-session.c -fPIC -DPIC -o .libs/cert-session.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o handshake-checks.lo handshake-checks.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c handshake-checks.c -fPIC -DPIC -o .libs/handshake-checks.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o dtls-sw.lo dtls-sw.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c dtls-sw.c -fPIC -DPIC -o .libs/dtls-sw.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o dh-primes.lo dh-primes.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c dh-primes.c -fPIC -DPIC -o .libs/dh-primes.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o openpgp_compat.lo openpgp_compat.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c openpgp_compat.c -fPIC -DPIC -o .libs/openpgp_compat.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o crypto-selftests.lo crypto-selftests.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c crypto-selftests.c -fPIC -DPIC -o .libs/crypto-selftests.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o crypto-selftests-pk.lo crypto-selftests-pk.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c crypto-selftests-pk.c -fPIC -DPIC -o .libs/crypto-selftests-pk.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o secrets.lo secrets.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c secrets.c -fPIC -DPIC -o .libs/secrets.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o extv.lo extv.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c extv.c -fPIC -DPIC -o .libs/extv.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o hello_ext_lib.lo hello_ext_lib.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c hello_ext_lib.c -fPIC -DPIC -o .libs/hello_ext_lib.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o ocsp-api.lo ocsp-api.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ocsp-api.c -fPIC -DPIC -o .libs/ocsp-api.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o stek.lo stek.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c stek.c -fPIC -DPIC -o .libs/stek.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cert-cred-rawpk.lo cert-cred-rawpk.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cert-cred-rawpk.c -fPIC -DPIC -o .libs/cert-cred-rawpk.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o iov.lo iov.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c iov.c -fPIC -DPIC -o .libs/iov.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o system/ktls.lo system/ktls.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c system/ktls.c -fPIC -DPIC -o system/.libs/ktls.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pathbuf.lo pathbuf.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pathbuf.c -fPIC -DPIC -o .libs/pathbuf.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o vko.lo vko.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c vko.c -fPIC -DPIC -o .libs/vko.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o system/keys-dummy.lo system/keys-dummy.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c system/keys-dummy.c -fPIC -DPIC -o system/.libs/keys-dummy.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls13/encrypted_extensions.lo tls13/encrypted_extensions.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls13/encrypted_extensions.c -fPIC -DPIC -o tls13/.libs/encrypted_extensions.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls13/certificate_request.lo tls13/certificate_request.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls13/certificate_request.c -fPIC -DPIC -o tls13/.libs/certificate_request.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls13/certificate_verify.lo tls13/certificate_verify.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls13/certificate_verify.c -fPIC -DPIC -o tls13/.libs/certificate_verify.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls13-sig.lo tls13-sig.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls13-sig.c -fPIC -DPIC -o .libs/tls13-sig.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls13/finished.lo tls13/finished.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls13/finished.c -fPIC -DPIC -o tls13/.libs/finished.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls13/key_update.lo tls13/key_update.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls13/key_update.c -fPIC -DPIC -o tls13/.libs/key_update.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls13/hello_retry.lo tls13/hello_retry.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls13/hello_retry.c -fPIC -DPIC -o tls13/.libs/hello_retry.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls13/session_ticket.lo tls13/session_ticket.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls13/session_ticket.c -fPIC -DPIC -o tls13/.libs/session_ticket.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls13/certificate.lo tls13/certificate.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls13/certificate.c -fPIC -DPIC -o tls13/.libs/certificate.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls13/early_data.lo tls13/early_data.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls13/early_data.c -fPIC -DPIC -o tls13/.libs/early_data.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls13/post_handshake.lo tls13/post_handshake.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls13/post_handshake.c -fPIC -DPIC -o tls13/.libs/post_handshake.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls13/psk_ext_parser.lo tls13/psk_ext_parser.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls13/psk_ext_parser.c -fPIC -DPIC -o tls13/.libs/psk_ext_parser.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tls13/anti_replay.lo tls13/anti_replay.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c tls13/anti_replay.c -fPIC -DPIC -o tls13/.libs/anti_replay.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkcs11.lo pkcs11.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkcs11.c -fPIC -DPIC -o .libs/pkcs11.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkcs11x.lo pkcs11x.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkcs11x.c -fPIC -DPIC -o .libs/pkcs11x.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkcs11_privkey.lo pkcs11_privkey.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkcs11_privkey.c -fPIC -DPIC -o .libs/pkcs11_privkey.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkcs11_write.lo pkcs11_write.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkcs11_write.c -fPIC -DPIC -o .libs/pkcs11_write.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkcs11_secret.lo pkcs11_secret.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkcs11_secret.c -fPIC -DPIC -o .libs/pkcs11_secret.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o pkcs11_int.lo pkcs11_int.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c pkcs11_int.c -fPIC -DPIC -o .libs/pkcs11_int.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o srp.lo srp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c srp.c -fPIC -DPIC -o .libs/srp.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o psk.lo psk.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I./../gl -I./../gl -I./includes -I./x509 -I./includes -I./includes -I./x509 -I/usr/include/p11-kit-1 -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c psk.c -fPIC -DPIC -o .libs/psk.o /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -I/usr/include/p11-kit-1 -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -no-undefined -version-info 66:0:36 -Wl,--version-script=./libgnutls.map -o libgnutls.la -rpath /usr/lib range.lo record.lo compress.lo debug.lo cipher.lo handshake-tls13.lo mbuffers.lo buffers.lo handshake.lo errors.lo dh.lo kx.lo cipher-cbc.lo priority.lo hash_int.lo cipher_int.lo session.lo db.lo x509_b64.lo hello_ext.lo auth.lo sslv2_compat.lo datum.lo session_pack.lo mpi.lo pk.lo cert-cred.lo global.lo constate.lo anon_cred.lo pkix_asn1_tab.lo gnutls_asn1_tab.lo mem.lo fingerprint.lo tls-sig.lo ecc.lo alert.lo privkey_raw.lo system/certs.lo system/threads.lo system/fastopen.lo system/sockets.lo str-iconv.lo system.lo profiles.lo inih/ini.lo str.lo str-unicode.lo str-idna.lo state.lo cert-cred-x509.lo file.lo supplemental.lo random.lo crypto-api.lo privkey.lo pcert.lo pubkey.lo locks.lo dtls.lo system_override.lo crypto-backend.lo verify-tofu.lo pin.lo tpm.lo fips.lo safe-memfuncs.lo atfork.lo randomart.lo urls.lo prf.lo auto-verify.lo dh-session.lo cert-session.lo handshake-checks.lo dtls-sw.lo dh-primes.lo openpgp_compat.lo crypto-selftests.lo crypto-selftests-pk.lo secrets.lo extv.lo hello_ext_lib.lo ocsp-api.lo stek.lo cert-cred-rawpk.lo iov.lo system/ktls.lo pathbuf.lo vko.lo system/keys-dummy.lo tls13/encrypted_extensions.lo tls13/certificate_request.lo tls13/certificate_verify.lo tls13-sig.lo tls13/finished.lo tls13/key_update.lo tls13/hello_retry.lo tls13/session_ticket.lo tls13/certificate.lo tls13/early_data.lo tls13/post_handshake.lo tls13/psk_ext_parser.lo tls13/anti_replay.lo pkcs11.lo pkcs11x.lo pkcs11_privkey.lo pkcs11_write.lo pkcs11_secret.lo pkcs11_int.lo srp.lo psk.lo ../gl/libgnu.la x509/libgnutls_x509.la ext/libgnutls_ext.la auth/libgnutls_auth.la algorithms/libgnutls_alg.la extras/libgnutls_extras.la accelerated/libaccelerated.la nettle/libcrypto.la -L/usr/lib -lz -lp11-kit -lidn2 -lunistring -ltasn1 -lnettle -lhogweed -lgmp libtool: link: i586-alt-linux-gcc -shared -fPIC -DPIC .libs/range.o .libs/record.o .libs/compress.o .libs/debug.o .libs/cipher.o .libs/handshake-tls13.o .libs/mbuffers.o .libs/buffers.o .libs/handshake.o .libs/errors.o .libs/dh.o .libs/kx.o .libs/cipher-cbc.o .libs/priority.o .libs/hash_int.o .libs/cipher_int.o .libs/session.o .libs/db.o .libs/x509_b64.o .libs/hello_ext.o .libs/auth.o .libs/sslv2_compat.o .libs/datum.o .libs/session_pack.o .libs/mpi.o .libs/pk.o .libs/cert-cred.o .libs/global.o .libs/constate.o .libs/anon_cred.o .libs/pkix_asn1_tab.o .libs/gnutls_asn1_tab.o .libs/mem.o .libs/fingerprint.o .libs/tls-sig.o .libs/ecc.o .libs/alert.o .libs/privkey_raw.o system/.libs/certs.o system/.libs/threads.o system/.libs/fastopen.o system/.libs/sockets.o .libs/str-iconv.o .libs/system.o .libs/profiles.o inih/.libs/ini.o .libs/str.o .libs/str-unicode.o .libs/str-idna.o .libs/state.o .libs/cert-cred-x509.o .libs/file.o .libs/supplemental.o .libs/random.o .libs/crypto-api.o .libs/privkey.o .libs/pcert.o .libs/pubkey.o .libs/locks.o .libs/dtls.o .libs/system_override.o .libs/crypto-backend.o .libs/verify-tofu.o .libs/pin.o .libs/tpm.o .libs/fips.o .libs/safe-memfuncs.o .libs/atfork.o .libs/randomart.o .libs/urls.o .libs/prf.o .libs/auto-verify.o .libs/dh-session.o .libs/cert-session.o .libs/handshake-checks.o .libs/dtls-sw.o .libs/dh-primes.o .libs/openpgp_compat.o .libs/crypto-selftests.o .libs/crypto-selftests-pk.o .libs/secrets.o .libs/extv.o .libs/hello_ext_lib.o .libs/ocsp-api.o .libs/stek.o .libs/cert-cred-rawpk.o .libs/iov.o system/.libs/ktls.o .libs/pathbuf.o .libs/vko.o system/.libs/keys-dummy.o tls13/.libs/encrypted_extensions.o tls13/.libs/certificate_request.o tls13/.libs/certificate_verify.o .libs/tls13-sig.o tls13/.libs/finished.o tls13/.libs/key_update.o tls13/.libs/hello_retry.o tls13/.libs/session_ticket.o tls13/.libs/certificate.o tls13/.libs/early_data.o tls13/.libs/post_handshake.o tls13/.libs/psk_ext_parser.o tls13/.libs/anti_replay.o .libs/pkcs11.o .libs/pkcs11x.o .libs/pkcs11_privkey.o .libs/pkcs11_write.o .libs/pkcs11_secret.o .libs/pkcs11_int.o .libs/srp.o .libs/psk.o -Wl,--whole-archive ../gl/.libs/libgnu.a x509/.libs/libgnutls_x509.a ext/.libs/libgnutls_ext.a auth/.libs/libgnutls_auth.a algorithms/.libs/libgnutls_alg.a extras/.libs/libgnutls_extras.a accelerated/.libs/libaccelerated.a nettle/.libs/libcrypto.a -Wl,--no-whole-archive -L/usr/lib -lz -lp11-kit -lidn2 -lunistring -ltasn1 -lnettle -lhogweed -lgmp -g -O2 -flto=auto -march=i586 -mtune=generic -Wl,--version-script=./libgnutls.map -Wl,-soname -Wl,libgnutls.so.30 -o .libs/libgnutls.so.30.36.0 libtool: link: (cd ".libs" && rm -f "libgnutls.so.30" && ln -s "libgnutls.so.30.36.0" "libgnutls.so.30") libtool: link: (cd ".libs" && rm -f "libgnutls.so" && ln -s "libgnutls.so.30.36.0" "libgnutls.so") libtool: link: ( cd ".libs" && rm -f "libgnutls.la" && ln -s "../libgnutls.la" "libgnutls.la" ) /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../includes -I../includes -I./includes -I./includes -I./includes -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnutlsxx_la-gnutlsxx.lo `test -f 'gnutlsxx.cpp' || echo './'`gnutlsxx.cpp libtool: compile: i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I../includes -I../includes -I./includes -I./includes -I./includes -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gnutlsxx.cpp -fPIC -DPIC -o .libs/libgnutlsxx_la-gnutlsxx.o /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -I./includes -I./includes -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -no-undefined -version-info 30:0:0 -o libgnutlsxx.la -rpath /usr/lib libgnutlsxx_la-gnutlsxx.lo libgnutls.la libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/13/../../../crti.o /usr/lib/gcc/i586-alt-linux/13/crtbeginS.o .libs/libgnutlsxx_la-gnutlsxx.o -Wl,-rpath -Wl,/usr/src/RPM/BUILD/gnutls-3.8.1/lib/.libs ./.libs/libgnutls.so -L/usr/lib/gcc/i586-alt-linux/13 -L/usr/lib/gcc/i586-alt-linux/13/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/13/crtendS.o /usr/lib/gcc/i586-alt-linux/13/../../../crtn.o -g -O2 -flto=auto -march=i586 -mtune=generic -Wl,-soname -Wl,libgnutlsxx.so.30 -o .libs/libgnutlsxx.so.30.0.0 libtool: link: (cd ".libs" && rm -f "libgnutlsxx.so.30" && ln -s "libgnutlsxx.so.30.0.0" "libgnutlsxx.so.30") libtool: link: (cd ".libs" && rm -f "libgnutlsxx.so" && ln -s "libgnutlsxx.so.30.0.0" "libgnutlsxx.so") libtool: link: ( cd ".libs" && rm -f "libgnutlsxx.la" && ln -s "../libgnutlsxx.la" "libgnutlsxx.la" ) make[4]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib' make[3]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib' make[2]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/lib' Making all in extra make[2]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/extra' Making all in includes make[3]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/extra/includes' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/extra/includes' make[3]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/extra' /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./../gl -I./../gl -I./../lib/includes -I./../lib/includes -I./includes -I./includes -I./../lib -I./../lib -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gnutls_openssl.lo gnutls_openssl.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./../gl -I./../gl -I./../lib/includes -I./../lib/includes -I./includes -I./includes -I./../lib -I./../lib -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gnutls_openssl.c -fPIC -DPIC -o .libs/gnutls_openssl.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./../gl -I./../gl -I./../lib/includes -I./../lib/includes -I./includes -I./includes -I./../lib -I./../lib -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o openssl_compat.lo openssl_compat.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./../gl -I./../gl -I./../lib/includes -I./../lib/includes -I./includes -I./includes -I./../lib -I./../lib -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c openssl_compat.c -fPIC -DPIC -o .libs/openssl_compat.o /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -Wtype-limits -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -no-undefined -export-symbols-regex "^[[:upper:]]" -version-info 27:2:0 -o libgnutls-openssl.la -rpath /usr/lib gnutls_openssl.lo openssl_compat.lo ../gl/libgnu.la ../lib/libgnutls.la libtool: link: /usr/bin/nm -B .libs/gnutls_openssl.o .libs/openssl_compat.o ../gl/.libs/libgnu.a | /bin/sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/libgnutls-openssl.exp /usr/bin/nm: libgnu_la-fd-hook.o: no symbols /usr/bin/nm: libgnu_la-sys_socket.o: no symbols /usr/bin/nm: libgnu_la-threadlib.o: no symbols /usr/bin/nm: libgnu_la-tls.o: no symbols /usr/bin/nm: libgnu_la-unistd.o: no symbols libtool: link: /bin/grep -E -e "^[[:upper:]]" ".libs/libgnutls-openssl.exp" > ".libs/libgnutls-openssl.expT" libtool: link: mv -f ".libs/libgnutls-openssl.expT" ".libs/libgnutls-openssl.exp" libtool: link: echo "{ global:" > .libs/libgnutls-openssl.ver libtool: link: cat .libs/libgnutls-openssl.exp | /bin/sed -e "s/\(.*\)/\1;/" >> .libs/libgnutls-openssl.ver libtool: link: echo "local: *; };" >> .libs/libgnutls-openssl.ver libtool: link: if test -r libgnutls-openssl-altlinux.ver; then cp libgnutls-openssl-altlinux.ver .libs/libgnutls-openssl.ver; fi libtool: link: i586-alt-linux-gcc -shared -fPIC -DPIC .libs/gnutls_openssl.o .libs/openssl_compat.o -Wl,--whole-archive ../gl/.libs/libgnu.a -Wl,--no-whole-archive -Wl,-rpath -Wl,/usr/src/RPM/BUILD/gnutls-3.8.1/lib/.libs ../lib/.libs/libgnutls.so -g -O2 -flto=auto -march=i586 -mtune=generic -Wl,-soname -Wl,libgnutls-openssl.so.27 -Wl,-version-script -Wl,.libs/libgnutls-openssl.ver -o .libs/libgnutls-openssl.so.27.0.2 libtool: link: (cd ".libs" && rm -f "libgnutls-openssl.so.27" && ln -s "libgnutls-openssl.so.27.0.2" "libgnutls-openssl.so.27") libtool: link: (cd ".libs" && rm -f "libgnutls-openssl.so" && ln -s "libgnutls-openssl.so.27.0.2" "libgnutls-openssl.so") libtool: link: ( cd ".libs" && rm -f "libgnutls-openssl.la" && ln -s "../libgnutls-openssl.la" "libgnutls-openssl.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/extra' make[2]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/extra' Making all in po make[2]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/po' make gnutls30.pot-update make[3]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/po' sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed mv t-remove-potcdate.sed remove-potcdate.sed package_gnu=""; \ test -n "$package_gnu" || { \ if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \ LC_ALL=C find -L .. -maxdepth 1 -type f -size -10000000c -exec grep -i 'GNU gnutls' /dev/null '{}' ';' 2>/dev/null; \ else \ LC_ALL=C grep -i 'GNU gnutls' ../* 2>/dev/null; \ fi; \ } | grep -v 'libtool:' >/dev/null; then \ package_gnu=yes; \ else \ package_gnu=no; \ fi; \ }; \ if test "$package_gnu" = "yes"; then \ package_prefix='GNU '; \ else \ package_prefix=''; \ fi; \ if test -n 'bug-gnutls@gnu.org' || test 'bugs@gnutls.org' = '@'PACKAGE_BUGREPORT'@'; then \ msgid_bugs_address='bug-gnutls@gnu.org'; \ else \ msgid_bugs_address='bugs@gnutls.org'; \ fi; \ case `/usr/bin/xgettext --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ /usr/bin/xgettext --default-domain=gnutls30 --directory=.. \ --add-comments=TRANSLATORS: \ --files-from=./POTFILES.in \ --copyright-holder='Free Software Foundation, Inc.' \ --msgid-bugs-address="$msgid_bugs_address" \ --keyword=_ --keyword=N_ --flag=_:1:pass-c-format --flag=N_:1:pass-c-format --flag=error:3:c-format --flag=error_at_line:5:c-format ${end_of_xgettext_options+} --flag=asprintf:2:c-format --flag=vasprintf:2:c-format --flag=error:3:c-format --flag=error_at_line:5:c-format --flag=asprintf:2:c-format --flag=vasprintf:2:c-format \ ;; \ *) \ /usr/bin/xgettext --default-domain=gnutls30 --directory=.. \ --add-comments=TRANSLATORS: \ --files-from=./POTFILES.in \ --copyright-holder='Free Software Foundation, Inc.' \ --package-name="${package_prefix}gnutls" \ --package-version='3.8.1' \ --msgid-bugs-address="$msgid_bugs_address" \ --keyword=_ --keyword=N_ --flag=_:1:pass-c-format --flag=N_:1:pass-c-format --flag=error:3:c-format --flag=error_at_line:5:c-format ${end_of_xgettext_options+} --flag=asprintf:2:c-format --flag=vasprintf:2:c-format --flag=error:3:c-format --flag=error_at_line:5:c-format --flag=asprintf:2:c-format --flag=vasprintf:2:c-format \ ;; \ esac test ! -f gnutls30.po || { \ if test -f ./gnutls30.pot-header; then \ sed -e '1,/^#$/d' < gnutls30.po > gnutls30.1po && \ cat ./gnutls30.pot-header gnutls30.1po > gnutls30.po && \ rm -f gnutls30.1po \ || exit 1; \ fi; \ if test -f ./gnutls30.pot; then \ sed -f remove-potcdate.sed < ./gnutls30.pot > gnutls30.1po && \ sed -f remove-potcdate.sed < gnutls30.po > gnutls30.2po && \ if cmp gnutls30.1po gnutls30.2po >/dev/null 2>&1; then \ rm -f gnutls30.1po gnutls30.2po gnutls30.po; \ else \ rm -f gnutls30.1po gnutls30.2po ./gnutls30.pot && \ mv gnutls30.po ./gnutls30.pot; \ fi; \ else \ mv gnutls30.po ./gnutls30.pot; \ fi; \ } make[3]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/po' test ! -f ./gnutls30.pot || \ test -z "cs.gmo de.gmo eo.gmo es.gmo fi.gmo fr.gmo it.gmo ka.gmo ms.gmo nl.gmo pl.gmo pt_BR.gmo ro.gmo sr.gmo sv.gmo uk.gmo vi.gmo zh_CN.gmo" || make cs.gmo de.gmo eo.gmo es.gmo fi.gmo fr.gmo it.gmo ka.gmo ms.gmo nl.gmo pl.gmo pt_BR.gmo ro.gmo sr.gmo sv.gmo uk.gmo vi.gmo zh_CN.gmo make[3]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/po' /usr/bin/msgmerge --update --lang=cs --previous cs.po gnutls30.pot ........................................... done. rm -f cs.gmo && /usr/bin/msgmerge --for-msgfmt -o cs.1po cs.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o cs.gmo cs.1po && rm -f cs.1po cs.1po: 384 translated messages. /usr/bin/msgmerge --update --lang=de --previous de.po gnutls30.pot ........................................... done. rm -f de.gmo && /usr/bin/msgmerge --for-msgfmt -o de.1po de.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o de.gmo de.1po && rm -f de.1po de.1po: 377 translated messages. /usr/bin/msgmerge --update --lang=eo --previous eo.po gnutls30.pot ........................................... done. rm -f eo.gmo && /usr/bin/msgmerge --for-msgfmt -o eo.1po eo.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o eo.gmo eo.1po && rm -f eo.1po eo.1po: 384 translated messages. /usr/bin/msgmerge --update --lang=es --previous es.po gnutls30.pot ........................................... done. rm -f es.gmo && /usr/bin/msgmerge --for-msgfmt -o es.1po es.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o es.gmo es.1po && rm -f es.1po es.1po: 384 translated messages. /usr/bin/msgmerge --update --lang=fi --previous fi.po gnutls30.pot ........................................... done. rm -f fi.gmo && /usr/bin/msgmerge --for-msgfmt -o fi.1po fi.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o fi.gmo fi.1po && rm -f fi.1po fi.1po: 280 translated messages. /usr/bin/msgmerge --update --lang=fr --previous fr.po gnutls30.pot ........................................... done. rm -f fr.gmo && /usr/bin/msgmerge --for-msgfmt -o fr.1po fr.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o fr.gmo fr.1po && rm -f fr.1po fr.1po: 384 translated messages. /usr/bin/msgmerge --update --lang=it --previous it.po gnutls30.pot ........................................... done. rm -f it.gmo && /usr/bin/msgmerge --for-msgfmt -o it.1po it.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o it.gmo it.1po && rm -f it.1po it.1po: 384 translated messages. /usr/bin/msgmerge --update --lang=ka --previous ka.po gnutls30.pot ........................................... done. rm -f ka.gmo && /usr/bin/msgmerge --for-msgfmt -o ka.1po ka.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o ka.gmo ka.1po && rm -f ka.1po ka.1po: 384 translated messages. /usr/bin/msgmerge --update --lang=ms --previous ms.po gnutls30.pot ........................................... done. rm -f ms.gmo && /usr/bin/msgmerge --for-msgfmt -o ms.1po ms.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o ms.gmo ms.1po && rm -f ms.1po ms.1po: 364 translated messages. /usr/bin/msgmerge --update --lang=nl --previous nl.po gnutls30.pot ........................................... done. rm -f nl.gmo && /usr/bin/msgmerge --for-msgfmt -o nl.1po nl.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o nl.gmo nl.1po && rm -f nl.1po nl.1po: 280 translated messages. /usr/bin/msgmerge --update --lang=pl --previous pl.po gnutls30.pot ........................................... done. rm -f pl.gmo && /usr/bin/msgmerge --for-msgfmt -o pl.1po pl.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o pl.gmo pl.1po && rm -f pl.1po pl.1po: 384 translated messages. /usr/bin/msgmerge --update --lang=pt_BR --previous pt_BR.po gnutls30.pot ........................................... done. rm -f pt_BR.gmo && /usr/bin/msgmerge --for-msgfmt -o pt_BR.1po pt_BR.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o pt_BR.gmo pt_BR.1po && rm -f pt_BR.1po pt_BR.1po: 384 translated messages. /usr/bin/msgmerge --update --lang=ro --previous ro.po gnutls30.pot ........................................... done. rm -f ro.gmo && /usr/bin/msgmerge --for-msgfmt -o ro.1po ro.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o ro.gmo ro.1po && rm -f ro.1po ro.1po: 384 translated messages. /usr/bin/msgmerge --update --lang=sr --previous sr.po gnutls30.pot ........................................... done. rm -f sr.gmo && /usr/bin/msgmerge --for-msgfmt -o sr.1po sr.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o sr.gmo sr.1po && rm -f sr.1po sr.1po: 384 translated messages. /usr/bin/msgmerge --update --lang=sv --previous sv.po gnutls30.pot ........................................... done. rm -f sv.gmo && /usr/bin/msgmerge --for-msgfmt -o sv.1po sv.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o sv.gmo sv.1po && rm -f sv.1po sv.1po: 384 translated messages. /usr/bin/msgmerge --update --lang=uk --previous uk.po gnutls30.pot ........................................... done. rm -f uk.gmo && /usr/bin/msgmerge --for-msgfmt -o uk.1po uk.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o uk.gmo uk.1po && rm -f uk.1po uk.1po: 384 translated messages. /usr/bin/msgmerge --update --lang=vi --previous vi.po gnutls30.pot ........................................... done. rm -f vi.gmo && /usr/bin/msgmerge --for-msgfmt -o vi.1po vi.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o vi.gmo vi.1po && rm -f vi.1po vi.1po: 280 translated messages. /usr/bin/msgmerge --update --lang=zh_CN --previous zh_CN.po gnutls30.pot ........................................... done. rm -f zh_CN.gmo && /usr/bin/msgmerge --for-msgfmt -o zh_CN.1po zh_CN.po gnutls30.pot && /usr/bin/msgfmt -c --statistics --verbose -o zh_CN.gmo zh_CN.1po && rm -f zh_CN.1po zh_CN.1po: 280 translated messages. make[3]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/po' touch ./stamp-po make[2]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/po' Making all in src/gl make[2]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''HAVE_ALLOCA_H''@|1|g' \ ./alloca.in.h > alloca.h-t mv alloca.h-t alloca.h /bin/mkdir -p 'arpa' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''HAVE_FEATURES_H''@|1|g' \ -e 's|@''NEXT_ARPA_INET_H''@|<arpa/inet.h>|g' \ -e 's|@''HAVE_ARPA_INET_H''@|1|g' \ -e 's/@''GNULIB_INET_NTOP''@/1/g' \ -e 's/@''GNULIB_INET_PTON''@/1/g' \ -e 's|@''HAVE_WS2TCPIP_H''@|0|g' \ -e 's|@''HAVE_DECL_INET_NTOP''@|1|g' \ -e 's|@''HAVE_DECL_INET_PTON''@|1|g' \ -e 's|@''REPLACE_INET_NTOP''@|0|g' \ -e 's|@''REPLACE_INET_PTON''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./arpa_inet.in.h > arpa/inet.h-t mv arpa/inet.h-t arpa/inet.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_FCNTL_H''@|<fcntl.h>|g' \ -e 's/@''GNULIB_CREAT''@/0/g' \ -e 's/@''GNULIB_FCNTL''@/1/g' \ -e 's/@''GNULIB_NONBLOCKING''@/0/g' \ -e 's/@''GNULIB_OPEN''@/1/g' \ -e 's/@''GNULIB_OPENAT''@/0/g' \ -e 's/@''GNULIB_MDA_CREAT''@/1/g' \ -e 's/@''GNULIB_MDA_OPEN''@/1/g' \ -e 's|@''HAVE_FCNTL''@|1|g' \ -e 's|@''HAVE_OPENAT''@|1|g' \ -e 's|@''REPLACE_CREAT''@|0|g' \ -e 's|@''REPLACE_FCNTL''@|1|g' \ -e 's|@''REPLACE_OPEN''@|0|g' \ -e 's|@''REPLACE_OPENAT''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./fcntl.in.h > fcntl.h-t mv fcntl.h-t fcntl.h /bin/mkdir -p 'malloc' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|__always_inline|inline _GL_ATTRIBUTE_ALWAYS_INLINE|g' \ -e 's|__glibc_likely|_GL_LIKELY|g' \ -e 's|__glibc_unlikely|_GL_UNLIKELY|g' \ -e '/libc_hidden_proto/d' \ ./malloc/scratch_buffer.h > malloc/scratch_buffer.gl.h-t mv malloc/scratch_buffer.gl.h-t malloc/scratch_buffer.gl.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's/@''HAVE_INTTYPES_H''@/1/g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_INTTYPES_H''@|<inttypes.h>|g' \ -e 's/@''APPLE_UNIVERSAL_BUILD''@/0/g' \ -e 's/@''PRIPTR_PREFIX''@/""/g' \ -e 's/@''GNULIB_IMAXABS''@/0/g' \ -e 's/@''GNULIB_IMAXDIV''@/0/g' \ -e 's/@''GNULIB_STRTOIMAX''@/0/g' \ -e 's/@''GNULIB_STRTOUMAX''@/0/g' \ -e 's/@''HAVE_DECL_IMAXABS''@/1/g' \ -e 's/@''HAVE_DECL_IMAXDIV''@/1/g' \ -e 's/@''HAVE_DECL_STRTOIMAX''@/1/g' \ -e 's/@''HAVE_DECL_STRTOUMAX''@/1/g' \ -e 's/@''HAVE_IMAXDIV_T''@/1/g' \ -e 's/@''REPLACE_IMAXABS''@/0/g' \ -e 's/@''REPLACE_IMAXDIV''@/0/g' \ -e 's/@''REPLACE_STRTOIMAX''@/0/g' \ -e 's/@''REPLACE_STRTOUMAX''@/0/g' \ -e 's/@''INT32_MAX_LT_INTMAX_MAX''@/1/g' \ -e 's/@''INT64_MAX_EQ_LONG_MAX''@/0/g' \ -e 's/@''UINT32_MAX_LT_UINTMAX_MAX''@/1/g' \ -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/0/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./inttypes.in.h > inttypes.h-t mv inttypes.h-t inttypes.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_LIMITS_H''@|<limits.h>|g' \ ./limits.in.h > limits.h-t mv limits.h-t limits.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_NETDB_H''@|<netdb.h>|g' \ -e 's|@''HAVE_NETDB_H''@|1|g' \ -e 's/@''GNULIB_GETADDRINFO''@/1/g' \ -e 's|@''HAVE_STRUCT_ADDRINFO''@|1|g' \ -e 's|@''HAVE_DECL_FREEADDRINFO''@|1|g' \ -e 's|@''HAVE_DECL_GAI_STRERROR''@|1|g' \ -e 's|@''HAVE_DECL_GETADDRINFO''@|1|g' \ -e 's|@''HAVE_DECL_GETNAMEINFO''@|1|g' \ -e 's|@''REPLACE_GAI_STRERROR''@|0|g' \ -e 's|@''REPLACE_GETADDRINFO''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./netdb.in.h > netdb.h-t mv netdb.h-t netdb.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SIGNAL_H''@|<signal.h>|g' \ -e 's/@''GNULIB_PTHREAD_SIGMASK''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_RAISE''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/0/g' \ -e 's/@''GNULIB_SIGPROCMASK''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_SIGACTION''@/0/g' \ -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|1|g' \ -e 's|@''HAVE_PTHREAD_SIGMASK''@|1|g' \ -e 's|@''HAVE_RAISE''@|1|g' \ -e 's|@''HAVE_SIGSET_T''@|1|g' \ -e 's|@''HAVE_SIGINFO_T''@|1|g' \ -e 's|@''HAVE_SIGACTION''@|1|g' \ -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|1|g' \ -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|1|g' \ -e 's|@''HAVE_SIGHANDLER_T''@|1|g' \ -e 's|@''REPLACE_PTHREAD_SIGMASK''@|0|g' \ -e 's|@''REPLACE_RAISE''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./signal.in.h > signal.h-t mv signal.h-t signal.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ ./stdckdint.in.h > stdckdint.h-t mv stdckdint.h-t stdckdint.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_STDIO_H''@|<stdio.h>|g' \ -e 's/@''GNULIB_DPRINTF''@/0/g' \ -e 's/@''GNULIB_FCLOSE''@/0/g' \ -e 's/@''GNULIB_FDOPEN''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_FFLUSH''@/0/g' \ -e 's/@''GNULIB_FGETC''@/1/g' \ -e 's/@''GNULIB_FGETS''@/1/g' \ -e 's/@''GNULIB_FOPEN''@/1/g' \ -e 's/@''GNULIB_FOPEN_GNU''@/1/g' \ -e 's/@''GNULIB_FPRINTF''@/1/g' \ -e 's/@''GNULIB_FPRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_FPURGE''@/0/g' \ -e 's/@''GNULIB_FPUTC''@/1/g' \ -e 's/@''GNULIB_FPUTS''@/1/g' \ -e 's/@''GNULIB_FREAD''@/1/g' \ -e 's/@''GNULIB_FREOPEN''@/0/g' \ -e 's/@''GNULIB_FSCANF''@/1/g' \ -e 's/@''GNULIB_FSEEK''@/1/g' \ -e 's/@''GNULIB_FSEEKO''@/1/g' \ -e 's/@''GNULIB_FTELL''@/1/g' \ -e 's/@''GNULIB_FTELLO''@/1/g' \ -e 's/@''GNULIB_FWRITE''@/1/g' \ -e 's/@''GNULIB_GETC''@/1/g' \ -e 's/@''GNULIB_GETCHAR''@/1/g' \ -e 's/@''GNULIB_GETDELIM''@/1/g' \ -e 's/@''GNULIB_GETLINE''@/1/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF''@/0/g' \ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_PCLOSE''@/0/g' \ -e 's/@''GNULIB_PERROR''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_POPEN''@/0/g' \ -e 's/@''GNULIB_PRINTF''@/1/g' \ -e 's/@''GNULIB_PRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_PUTC''@/1/g' \ -e 's/@''GNULIB_PUTCHAR''@/1/g' \ -e 's/@''GNULIB_PUTS''@/1/g' \ -e 's/@''GNULIB_REMOVE''@/0/g' \ -e 's/@''GNULIB_RENAME''@/0/g' \ -e 's/@''GNULIB_RENAMEAT''@/0/g' \ -e 's/@''GNULIB_SCANF''@/1/g' \ -e 's/@''GNULIB_SNPRINTF''@/1/g' \ -e 's/@''GNULIB_SPRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/0/g' \ -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/0/g' \ -e 's/@''GNULIB_TMPFILE''@/0/g' \ -e 's/@''GNULIB_VASPRINTF''@/1/g' \ -e 's/@''GNULIB_VDPRINTF''@/0/g' \ -e 's/@''GNULIB_VFPRINTF''@/1/g' \ -e 's/@''GNULIB_VFPRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_VFSCANF''@/0/g' \ -e 's/@''GNULIB_VSCANF''@/0/g' \ -e 's/@''GNULIB_VPRINTF''@/1/g' \ -e 's/@''GNULIB_VPRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_VSNPRINTF''@/1/g' \ -e 's/@''GNULIB_VSPRINTF_POSIX''@/0/g' \ -e 's/@''GNULIB_MDA_FCLOSEALL''@/1/g' \ -e 's/@''GNULIB_MDA_FDOPEN''@/1/g' \ -e 's/@''GNULIB_MDA_FILENO''@/1/g' \ -e 's/@''GNULIB_MDA_GETW''@/1/g' \ -e 's/@''GNULIB_MDA_PUTW''@/1/g' \ -e 's/@''GNULIB_MDA_TEMPNAM''@/1/g' \ < ./stdio.in.h | \ sed -e 's|@''HAVE_DECL_FCLOSEALL''@|1|g' \ -e 's|@''HAVE_DECL_FPURGE''@|1|g' \ -e 's|@''HAVE_DECL_FSEEKO''@|1|g' \ -e 's|@''HAVE_DECL_FTELLO''@|1|g' \ -e 's|@''HAVE_DECL_GETDELIM''@|1|g' \ -e 's|@''HAVE_DECL_GETLINE''@|1|g' \ -e 's|@''HAVE_DECL_GETW''@|1|g' \ -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|1|g' \ -e 's|@''HAVE_DECL_PUTW''@|1|g' \ -e 's|@''HAVE_DECL_SNPRINTF''@|1|g' \ -e 's|@''HAVE_DECL_VSNPRINTF''@|1|g' \ -e 's|@''HAVE_DPRINTF''@|1|g' \ -e 's|@''HAVE_FSEEKO''@|1|g' \ -e 's|@''HAVE_FTELLO''@|1|g' \ -e 's|@''HAVE_PCLOSE''@|1|g' \ -e 's|@''HAVE_POPEN''@|1|g' \ -e 's|@''HAVE_RENAMEAT''@|1|g' \ -e 's|@''HAVE_VASPRINTF''@|1|g' \ -e 's|@''HAVE_VDPRINTF''@|1|g' \ -e 's|@''REPLACE_DPRINTF''@|0|g' \ -e 's|@''REPLACE_FCLOSE''@|0|g' \ -e 's|@''REPLACE_FDOPEN''@|0|g' \ -e 's|@''REPLACE_FFLUSH''@|0|g' \ -e 's|@''REPLACE_FOPEN''@|0|g' \ -e 's|@''REPLACE_FOPEN_FOR_FOPEN_GNU''@|0|g' \ -e 's|@''REPLACE_FPRINTF''@|0|g' \ -e 's|@''REPLACE_FPURGE''@|0|g' \ -e 's|@''REPLACE_FREOPEN''@|0|g' \ -e 's|@''REPLACE_FSEEK''@|0|g' \ -e 's|@''REPLACE_FSEEKO''@|0|g' \ -e 's|@''REPLACE_FTELL''@|0|g' \ -e 's|@''REPLACE_FTELLO''@|0|g' \ -e 's|@''REPLACE_GETDELIM''@|0|g' \ -e 's|@''REPLACE_GETLINE''@|0|g' \ -e 's|@''REPLACE_OBSTACK_PRINTF''@|0|g' \ -e 's|@''REPLACE_PERROR''@|0|g' \ -e 's|@''REPLACE_POPEN''@|0|g' \ -e 's|@''REPLACE_PRINTF''@|0|g' \ -e 's|@''REPLACE_REMOVE''@|0|g' \ -e 's|@''REPLACE_RENAME''@|0|g' \ -e 's|@''REPLACE_RENAMEAT''@|0|g' \ -e 's|@''REPLACE_SNPRINTF''@|0|g' \ -e 's|@''REPLACE_SPRINTF''@|0|g' \ -e 's|@''REPLACE_STDIO_READ_FUNCS''@|0|g' \ -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|0|g' \ -e 's|@''REPLACE_TMPFILE''@|0|g' \ -e 's|@''REPLACE_VASPRINTF''@|0|g' \ -e 's|@''REPLACE_VDPRINTF''@|0|g' \ -e 's|@''REPLACE_VFPRINTF''@|0|g' \ -e 's|@''REPLACE_VPRINTF''@|0|g' \ -e 's|@''REPLACE_VSNPRINTF''@|0|g' \ -e 's|@''REPLACE_VSPRINTF''@|0|g' \ -e 's|@''ASM_SYMBOL_PREFIX''@||g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ > stdio.h-t mv stdio.h-t stdio.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_STDLIB_H''@|<stdlib.h>|g' \ -e 's/@''GNULIB__EXIT''@/0/g' \ -e 's/@''GNULIB_ALIGNED_ALLOC''@/0/g' \ -e 's/@''GNULIB_ATOLL''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_CALLOC_GNU''@/1/g' \ -e 's/@''GNULIB_CALLOC_POSIX''@/1/g' \ -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/1/g' \ -e 's/@''GNULIB_FREE_POSIX''@/1/g' \ -e 's/@''GNULIB_GETLOADAVG''@/0/g' \ -e 's/@''GNULIB_GETPROGNAME''@/1/g' \ -e 's/@''GNULIB_GETSUBOPT''@/0/g' \ -e 's/@''GNULIB_GRANTPT''@/0/g' \ -e 's/@''GNULIB_MALLOC_GNU''@/1/g' \ -e 's/@''GNULIB_MALLOC_POSIX''@/1/g' \ -e 's/@''GNULIB_MBTOWC''@/0/g' \ -e 's/@''GNULIB_MKDTEMP''@/0/g' \ -e 's/@''GNULIB_MKOSTEMP''@/0/g' \ -e 's/@''GNULIB_MKOSTEMPS''@/0/g' \ -e 's/@''GNULIB_MKSTEMP''@/0/g' \ -e 's/@''GNULIB_MKSTEMPS''@/0/g' \ -e 's/@''GNULIB_POSIX_MEMALIGN''@/0/g' \ -e 's/@''GNULIB_POSIX_OPENPT''@/0/g' \ -e 's/@''GNULIB_PTSNAME''@/0/g' \ -e 's/@''GNULIB_PTSNAME_R''@/0/g' \ -e 's/@''GNULIB_PUTENV''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_QSORT_R''@/0/g' \ -e 's/@''GNULIB_RANDOM''@/0/g' \ -e 's/@''GNULIB_RANDOM_R''@/0/g' \ -e 's/@''GNULIB_REALLOC_GNU''@/1/g' \ -e 's/@''GNULIB_REALLOC_POSIX''@/1/g' \ -e 's/@''GNULIB_REALLOCARRAY''@/1/g' \ -e 's/@''GNULIB_REALPATH''@/1/g' \ -e 's/@''GNULIB_RPMATCH''@/0/g' \ -e 's/@''GNULIB_SECURE_GETENV''@/1/g' \ -e 's/@''GNULIB_SETENV''@/1/g' \ -e 's/@''GNULIB_STRTOD''@/0/g' \ -e 's/@''GNULIB_STRTOL''@/0/g' \ -e 's/@''GNULIB_STRTOLD''@/0/g' \ -e 's/@''GNULIB_STRTOLL''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_STRTOUL''@/0/g' \ -e 's/@''GNULIB_STRTOULL''@/0/g' \ -e 's/@''GNULIB_SYSTEM_POSIX''@/0/g' \ -e 's/@''GNULIB_UNLOCKPT''@/0/g' \ -e 's/@''GNULIB_UNSETENV''@/1/g' \ -e 's/@''GNULIB_WCTOMB''@/0/g' \ -e 's/@''GNULIB_MDA_ECVT''@/1/g' \ -e 's/@''GNULIB_MDA_FCVT''@/1/g' \ -e 's/@''GNULIB_MDA_GCVT''@/1/g' \ -e 's/@''GNULIB_MDA_MKTEMP''@/1/g' \ -e 's/@''GNULIB_MDA_PUTENV''@/1/g' \ < ./stdlib.in.h | \ sed -e 's|@''HAVE__EXIT''@|1|g' \ -e 's|@''HAVE_ALIGNED_ALLOC''@|1|g' \ -e 's|@''HAVE_ATOLL''@|1|g' \ -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|1|g' \ -e 's|@''HAVE_DECL_ECVT''@|1|g' \ -e 's|@''HAVE_DECL_FCVT''@|1|g' \ -e 's|@''HAVE_DECL_GCVT''@|1|g' \ -e 's|@''HAVE_DECL_GETLOADAVG''@|1|g' \ -e 's|@''HAVE_GETPROGNAME''@|0|g' \ -e 's|@''HAVE_GETSUBOPT''@|1|g' \ -e 's|@''HAVE_GRANTPT''@|1|g' \ -e 's|@''HAVE_INITSTATE''@|1|g' \ -e 's|@''HAVE_DECL_INITSTATE''@|1|g' \ -e 's|@''HAVE_MBTOWC''@|1|g' \ -e 's|@''HAVE_MKDTEMP''@|1|g' \ -e 's|@''HAVE_MKOSTEMP''@|1|g' \ -e 's|@''HAVE_MKOSTEMPS''@|1|g' \ -e 's|@''HAVE_MKSTEMP''@|1|g' \ -e 's|@''HAVE_MKSTEMPS''@|1|g' \ -e 's|@''HAVE_POSIX_MEMALIGN''@|1|g' \ -e 's|@''HAVE_POSIX_OPENPT''@|1|g' \ -e 's|@''HAVE_PTSNAME''@|1|g' \ -e 's|@''HAVE_PTSNAME_R''@|1|g' \ -e 's|@''HAVE_QSORT_R''@|1|g' \ -e 's|@''HAVE_RANDOM''@|1|g' \ -e 's|@''HAVE_RANDOM_H''@|1|g' \ -e 's|@''HAVE_RANDOM_R''@|1|g' \ -e 's|@''HAVE_REALLOCARRAY''@|1|g' \ -e 's|@''HAVE_REALPATH''@|1|g' \ -e 's|@''HAVE_RPMATCH''@|1|g' \ -e 's|@''HAVE_SECURE_GETENV''@|1|g' \ -e 's|@''HAVE_DECL_SETENV''@|1|g' \ -e 's|@''HAVE_SETSTATE''@|1|g' \ -e 's|@''HAVE_DECL_SETSTATE''@|1|g' \ -e 's|@''HAVE_STRTOD''@|1|g' \ -e 's|@''HAVE_STRTOL''@|1|g' \ -e 's|@''HAVE_STRTOLD''@|1|g' \ -e 's|@''HAVE_STRTOLL''@|1|g' \ -e 's|@''HAVE_STRTOUL''@|1|g' \ -e 's|@''HAVE_STRTOULL''@|1|g' \ -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|1|g' \ -e 's|@''HAVE_SYS_LOADAVG_H''@|0|g' \ -e 's|@''HAVE_UNLOCKPT''@|1|g' \ -e 's|@''HAVE_DECL_UNSETENV''@|1|g' \ -e 's|@''REPLACE__EXIT''@|0|g' \ -e 's|@''REPLACE_ALIGNED_ALLOC''@|0|g' \ -e 's|@''REPLACE_CALLOC_FOR_CALLOC_GNU''@|0|g' \ -e 's|@''REPLACE_CALLOC_FOR_CALLOC_POSIX''@|0|g' \ -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|0|g' \ -e 's|@''REPLACE_FREE''@|0|g' \ -e 's|@''REPLACE_GETLOADAVG''@|0|g' \ -e 's|@''REPLACE_GETPROGNAME''@|0|g' \ -e 's|@''REPLACE_GETSUBOPT''@|0|g' \ -e 's|@''REPLACE_INITSTATE''@|0|g' \ -e 's|@''REPLACE_MALLOC_FOR_MALLOC_GNU''@|0|g' \ -e 's|@''REPLACE_MALLOC_FOR_MALLOC_POSIX''@|0|g' \ -e 's|@''REPLACE_MBTOWC''@|0|g' \ -e 's|@''REPLACE_MKOSTEMP''@|0|g' \ -e 's|@''REPLACE_MKOSTEMPS''@|0|g' \ -e 's|@''REPLACE_MKSTEMP''@|0|g' \ -e 's|@''REPLACE_POSIX_MEMALIGN''@|0|g' \ -e 's|@''REPLACE_POSIX_OPENPT''@|0|g' \ -e 's|@''REPLACE_PTSNAME''@|0|g' \ -e 's|@''REPLACE_PTSNAME_R''@|0|g' \ -e 's|@''REPLACE_PUTENV''@|0|g' \ -e 's|@''REPLACE_QSORT_R''@|0|g' \ -e 's|@''REPLACE_RANDOM''@|0|g' \ -e 's|@''REPLACE_RANDOM_R''@|0|g' \ -e 's|@''REPLACE_REALLOC_FOR_REALLOC_GNU''@|0|g' \ -e 's|@''REPLACE_REALLOC_FOR_REALLOC_POSIX''@|0|g' \ -e 's|@''REPLACE_REALLOCARRAY''@|0|g' \ -e 's|@''REPLACE_REALPATH''@|0|g' \ -e 's|@''REPLACE_SETENV''@|0|g' \ -e 's|@''REPLACE_SETSTATE''@|0|g' \ -e 's|@''REPLACE_STRTOD''@|0|g' \ -e 's|@''REPLACE_STRTOL''@|0|g' \ -e 's|@''REPLACE_STRTOLD''@|0|g' \ -e 's|@''REPLACE_STRTOLL''@|0|g' \ -e 's|@''REPLACE_STRTOUL''@|0|g' \ -e 's|@''REPLACE_STRTOULL''@|0|g' \ -e 's|@''REPLACE_UNSETENV''@|0|g' \ -e 's|@''REPLACE_WCTOMB''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _Noreturn/r ./_Noreturn.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ > stdlib.h-t mv stdlib.h-t stdlib.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_STRING_H''@|<string.h>|g' \ -e 's/@''GNULIB_EXPLICIT_BZERO''@/1/g' \ -e 's/@''GNULIB_FFSL''@/0/g' \ -e 's/@''GNULIB_FFSLL''@/0/g' \ -e 's/@''GNULIB_MBSLEN''@/0/g' \ -e 's/@''GNULIB_MBSNLEN''@/0/g' \ -e 's/@''GNULIB_MBSCHR''@/0/g' \ -e 's/@''GNULIB_MBSRCHR''@/0/g' \ -e 's/@''GNULIB_MBSSTR''@/0/g' \ -e 's/@''GNULIB_MBSCASECMP''@/0/g' \ -e 's/@''GNULIB_MBSNCASECMP''@/0/g' \ -e 's/@''GNULIB_MBSPCASECMP''@/0/g' \ -e 's/@''GNULIB_MBSCASESTR''@/0/g' \ -e 's/@''GNULIB_MBSCSPN''@/0/g' \ -e 's/@''GNULIB_MBSPBRK''@/0/g' \ -e 's/@''GNULIB_MBSSPN''@/0/g' \ -e 's/@''GNULIB_MBSSEP''@/0/g' \ -e 's/@''GNULIB_MBSTOK_R''@/0/g' \ -e 's/@''GNULIB_MEMCHR''@/1/g' \ -e 's/@''GNULIB_MEMMEM''@/1/g' \ -e 's/@''GNULIB_MEMPCPY''@/1/g' \ -e 's/@''GNULIB_MEMRCHR''@/0/g' \ -e 's/@''GNULIB_MEMSET_EXPLICIT''@/1/g' \ -e 's/@''GNULIB_RAWMEMCHR''@/1/g' \ -e 's/@''GNULIB_STPCPY''@/1/g' \ -e 's/@''GNULIB_STPNCPY''@/0/g' \ -e 's/@''GNULIB_STRCHRNUL''@/0/g' \ -e 's/@''GNULIB_STRDUP''@/1/g' \ -e 's/@''GNULIB_STRNCAT''@/0/g' \ -e 's/@''GNULIB_STRNDUP''@/1/g' \ -e 's/@''GNULIB_STRNLEN''@/1/g' \ -e 's/@''GNULIB_STRPBRK''@/0/g' \ -e 's/@''GNULIB_STRSEP''@/0/g' \ -e 's/@''GNULIB_STRSTR''@/0/g' \ -e 's/@''GNULIB_STRCASESTR''@/0/g' \ -e 's/@''GNULIB_STRTOK_R''@/1/g' \ -e 's/@''GNULIB_STRERROR''@/1/g' \ -e 's/@''GNULIB_STRERROR_R''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_STRERRORNAME_NP''@/0/g' \ -e 's/@''GNULIB_SIGABBREV_NP''@/0/g' \ -e 's/@''GNULIB_SIGDESCR_NP''@/0/g' \ -e 's/@''GNULIB_STRSIGNAL''@/0/g' \ -e 's/@''GNULIB_STRVERSCMP''@/1/g' \ -e 's/@''GNULIB_MDA_MEMCCPY''@/1/g' \ -e 's/@''GNULIB_MDA_STRDUP''@/1/g' \ -e 's/@''GNULIB_FREE_POSIX''@/1/g' \ < ./string.in.h | \ sed -e 's|@''HAVE_EXPLICIT_BZERO''@|1|g' \ -e 's|@''HAVE_FFSL''@|1|g' \ -e 's|@''HAVE_FFSLL''@|1|g' \ -e 's|@''HAVE_MBSLEN''@|0|g' \ -e 's|@''HAVE_DECL_MEMMEM''@|1|g' \ -e 's|@''HAVE_MEMPCPY''@|1|g' \ -e 's|@''HAVE_DECL_MEMRCHR''@|1|g' \ -e 's|@''HAVE_MEMSET_EXPLICIT''@|0|g' \ -e 's|@''HAVE_RAWMEMCHR''@|1|g' \ -e 's|@''HAVE_STPCPY''@|1|g' \ -e 's|@''HAVE_STPNCPY''@|1|g' \ -e 's|@''HAVE_STRCHRNUL''@|1|g' \ -e 's|@''HAVE_DECL_STRDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNDUP''@|1|g' \ -e 's|@''HAVE_DECL_STRNLEN''@|1|g' \ -e 's|@''HAVE_STRPBRK''@|1|g' \ -e 's|@''HAVE_STRSEP''@|1|g' \ -e 's|@''HAVE_STRCASESTR''@|1|g' \ -e 's|@''HAVE_DECL_STRTOK_R''@|1|g' \ -e 's|@''HAVE_DECL_STRERROR_R''@|1|g' \ -e 's|@''HAVE_STRERRORNAME_NP''@|1|g' \ -e 's|@''HAVE_SIGABBREV_NP''@|1|g' \ -e 's|@''HAVE_SIGDESCR_NP''@|1|g' \ -e 's|@''HAVE_DECL_STRSIGNAL''@|1|g' \ -e 's|@''HAVE_STRVERSCMP''@|1|g' \ -e 's|@''REPLACE_FFSLL''@|0|g' \ -e 's|@''REPLACE_MEMCHR''@|0|g' \ -e 's|@''REPLACE_MEMMEM''@|0|g' \ -e 's|@''REPLACE_MEMPCPY''@|0|g' \ -e 's|@''REPLACE_FREE''@|0|g' \ -e 's|@''REPLACE_STPCPY''@|0|g' \ -e 's|@''REPLACE_STPNCPY''@|0|g' \ -e 's|@''REPLACE_STRCHRNUL''@|0|g' \ -e 's|@''REPLACE_STRDUP''@|0|g' \ -e 's|@''REPLACE_STRNCAT''@|0|g' \ -e 's|@''REPLACE_STRNDUP''@|0|g' \ -e 's|@''REPLACE_STRNLEN''@|0|g' \ -e 's|@''REPLACE_STRSTR''@|0|g' \ -e 's|@''REPLACE_STRCASESTR''@|0|g' \ -e 's|@''REPLACE_STRTOK_R''@|0|g' \ -e 's|@''REPLACE_STRERROR''@|0|g' \ -e 's|@''REPLACE_STRERROR_R''@|1|g' \ -e 's|@''REPLACE_STRERRORNAME_NP''@|0|g' \ -e 's|@''REPLACE_STRSIGNAL''@|0|g' \ -e 's|@''UNDEFINE_STRTOK_R''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ > string.h-t mv string.h-t string.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''HAVE_STRINGS_H''@|1|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_STRINGS_H''@|<strings.h>|g' \ -e 's/@''GNULIB_FFS''@/0/g' \ -e 's|@''HAVE_FFS''@|1|g' \ -e 's|@''HAVE_STRCASECMP''@|1|g' \ -e 's|@''HAVE_DECL_STRNCASECMP''@|1|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./strings.in.h > strings.h-t mv strings.h-t strings.h /bin/mkdir -p 'sys' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_SELECT_H''@|<sys/select.h>|g' \ -e 's|@''HAVE_SYS_SELECT_H''@|1|g' \ -e 's/@''GNULIB_PSELECT''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_SELECT''@/1/g' \ -e 's|@''HAVE_WINSOCK2_H''@|0|g' \ -e 's|@''HAVE_PSELECT''@|1|g' \ -e 's|@''REPLACE_PSELECT''@|0|g' \ -e 's|@''REPLACE_SELECT''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./sys_select.in.h > sys/select.h-t mv sys/select.h-t sys/select.h /bin/mkdir -p 'sys' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_SOCKET_H''@|<sys/socket.h>|g' \ -e 's|@''HAVE_SYS_SOCKET_H''@|1|g' \ -e 's/@''GNULIB_CLOSE''@/1/g' \ -e 's/@''GNULIB_SOCKET''@/1/g' \ -e 's/@''GNULIB_CONNECT''@/1/g' \ -e 's/@''GNULIB_ACCEPT''@/1/g' \ -e 's/@''GNULIB_BIND''@/1/g' \ -e 's/@''GNULIB_GETPEERNAME''@/1/g' \ -e 's/@''GNULIB_GETSOCKNAME''@/0/g' \ -e 's/@''GNULIB_GETSOCKOPT''@/0/g' \ -e 's/@''GNULIB_LISTEN''@/1/g' \ -e 's/@''GNULIB_RECV''@/1/g' \ -e 's/@''GNULIB_SEND''@/1/g' \ -e 's/@''GNULIB_RECVFROM''@/1/g' \ -e 's/@''GNULIB_SENDTO''@/1/g' \ -e 's/@''GNULIB_SETSOCKOPT''@/1/g' \ -e 's/@''GNULIB_SHUTDOWN''@/1/g' \ -e 's/@''GNULIB_ACCEPT4''@/0/g' \ -e 's|@''HAVE_WINSOCK2_H''@|0|g' \ -e 's|@''HAVE_WS2TCPIP_H''@|0|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|1|g' \ -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|1|g' \ -e 's|@''HAVE_SA_FAMILY_T''@|1|g' \ -e 's|@''HAVE_ACCEPT4''@|1|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./sys_socket.in.h > sys/socket.h-t mv sys/socket.h-t sys/socket.h /bin/mkdir -p 'sys' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_STAT_H''@|<sys/stat.h>|g' \ -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|0|g' \ -e 's|@''WINDOWS_STAT_TIMESPEC''@|0|g' \ -e 's/@''GNULIB_CHMOD''@/0/g' \ -e 's/@''GNULIB_FCHMODAT''@/0/g' \ -e 's/@''GNULIB_FSTAT''@/1/g' \ -e 's/@''GNULIB_FSTATAT''@/0/g' \ -e 's/@''GNULIB_FUTIMENS''@/0/g' \ -e 's/@''GNULIB_GETUMASK''@/0/g' \ -e 's/@''GNULIB_LCHMOD''@/0/g' \ -e 's/@''GNULIB_LSTAT''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_MKDIR''@/0/g' \ -e 's/@''GNULIB_MKDIRAT''@/0/g' \ -e 's/@''GNULIB_MKFIFO''@/0/g' \ -e 's/@''GNULIB_MKFIFOAT''@/0/g' \ -e 's/@''GNULIB_MKNOD''@/0/g' \ -e 's/@''GNULIB_MKNODAT''@/0/g' \ -e 's/@''GNULIB_STAT''@/1/g' \ -e 's/@''GNULIB_UTIMENSAT''@/0/g' \ -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/0/g' \ -e 's/@''GNULIB_MDA_CHMOD''@/1/g' \ -e 's/@''GNULIB_MDA_MKDIR''@/1/g' \ -e 's/@''GNULIB_MDA_UMASK''@/1/g' \ -e 's|@''HAVE_FCHMODAT''@|1|g' \ -e 's|@''HAVE_FSTATAT''@|1|g' \ -e 's|@''HAVE_FUTIMENS''@|1|g' \ -e 's|@''HAVE_GETUMASK''@|1|g' \ -e 's|@''HAVE_LCHMOD''@|1|g' \ -e 's|@''HAVE_LSTAT''@|1|g' \ -e 's|@''HAVE_MKDIRAT''@|1|g' \ -e 's|@''HAVE_MKFIFO''@|1|g' \ -e 's|@''HAVE_MKFIFOAT''@|1|g' \ -e 's|@''HAVE_MKNOD''@|1|g' \ -e 's|@''HAVE_MKNODAT''@|1|g' \ -e 's|@''HAVE_UTIMENSAT''@|1|g' \ -e 's|@''REPLACE_CHMOD''@|0|g' \ -e 's|@''REPLACE_FCHMODAT''@|0|g' \ -e 's|@''REPLACE_FSTAT''@|0|g' \ -e 's|@''REPLACE_FSTATAT''@|0|g' \ -e 's|@''REPLACE_FUTIMENS''@|0|g' \ -e 's|@''REPLACE_LSTAT''@|0|g' \ -e 's|@''REPLACE_MKDIR''@|0|g' \ -e 's|@''REPLACE_MKFIFO''@|0|g' \ -e 's|@''REPLACE_MKFIFOAT''@|0|g' \ -e 's|@''REPLACE_MKNOD''@|0|g' \ -e 's|@''REPLACE_MKNODAT''@|0|g' \ -e 's|@''REPLACE_STAT''@|0|g' \ -e 's|@''REPLACE_UTIMENSAT''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./sys_stat.in.h > sys/stat.h-t mv sys/stat.h-t sys/stat.h /bin/mkdir -p 'sys' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's/@''HAVE_SYS_TIME_H''@/1/g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_TIME_H''@|<sys/time.h>|g' \ -e 's/@''GNULIB_GETTIMEOFDAY''@/1/g' \ -e 's|@''HAVE_WINSOCK2_H''@|0|g' \ -e 's/@''HAVE_GETTIMEOFDAY''@/1/g' \ -e 's/@''HAVE_STRUCT_TIMEVAL''@/1/g' \ -e 's/@''REPLACE_GETTIMEOFDAY''@/0/g' \ -e 's/@''REPLACE_STRUCT_TIMEVAL''@/0/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./sys_time.in.h > sys/time.h-t mv sys/time.h-t sys/time.h /bin/mkdir -p 'sys' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_TYPES_H''@|<sys/types.h>|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \ -e 's|@''WINDOWS_STAT_INODES''@|0|g' \ ./sys_types.in.h > sys/types.h-t mv sys/types.h-t sys/types.h /bin/mkdir -p 'sys' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_UIO_H''@|<sys/uio.h>|g' \ -e 's|@''HAVE_SYS_UIO_H''@|1|g' \ ./sys_uio.in.h > sys/uio.h-t mv sys/uio.h-t sys/uio.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_TIME_H''@|<time.h>|g' \ -e 's/@''GNULIB_CTIME''@/0/g' \ -e 's/@''GNULIB_LOCALTIME''@/0/g' \ -e 's/@''GNULIB_MKTIME''@/1/g' \ -e 's/@''GNULIB_NANOSLEEP''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_STRFTIME''@/0/g' \ -e 's/@''GNULIB_STRPTIME''@/0/g' \ -e 's/@''GNULIB_TIMEGM''@/1/g' \ -e 's/@''GNULIB_TIMESPEC_GET''@/0/g' \ -e 's/@''GNULIB_TIMESPEC_GETRES''@/0/g' \ -e 's/@''GNULIB_TIME_R''@/1/g' \ -e 's/@''GNULIB_TIME_RZ''@/1/g' \ -e 's/@''GNULIB_TZSET''@/1/g' \ -e 's/@''GNULIB_MDA_TZSET''@/1/g' \ -e 's|@''HAVE_DECL_LOCALTIME_R''@|1|g' \ -e 's|@''HAVE_NANOSLEEP''@|1|g' \ -e 's|@''HAVE_STRPTIME''@|1|g' \ -e 's|@''HAVE_TIMEGM''@|1|g' \ -e 's|@''HAVE_TIMESPEC_GET''@|1|g' \ -e 's|@''HAVE_TIMESPEC_GETRES''@|1|g' \ -e 's|@''HAVE_TIMEZONE_T''@|0|g' \ -e 's|@''REPLACE_CTIME''@|GNULIB_PORTCHECK|g' \ -e 's|@''REPLACE_GMTIME''@|0|g' \ -e 's|@''REPLACE_LOCALTIME''@|0|g' \ -e 's|@''REPLACE_LOCALTIME_R''@|0|g' \ -e 's|@''REPLACE_MKTIME''@|0|g' \ -e 's|@''REPLACE_NANOSLEEP''@|0|g' \ -e 's|@''REPLACE_STRFTIME''@|GNULIB_PORTCHECK|g' \ -e 's|@''REPLACE_TIMEGM''@|0|g' \ -e 's|@''REPLACE_TIMESPEC_GET''@|GNULIB_PORTCHECK|g' \ -e 's|@''REPLACE_TZSET''@|0|g' \ -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \ -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \ -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|1|g' \ -e 's|@''UNISTD_H_DEFINES_STRUCT_TIMESPEC''@|0|g' \ -e 's|@''TIME_H_DEFINES_TIME_UTC''@|1|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./time.in.h > time.h-t mv time.h-t time.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''HAVE_UNISTD_H''@|1|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \ -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \ -e 's/@''GNULIB_ACCESS''@/0/g' \ -e 's/@''GNULIB_CHDIR''@/0/g' \ -e 's/@''GNULIB_CHOWN''@/0/g' \ -e 's/@''GNULIB_CLOSE''@/1/g' \ -e 's/@''GNULIB_COPY_FILE_RANGE''@/0/g' \ -e 's/@''GNULIB_DUP''@/0/g' \ -e 's/@''GNULIB_DUP2''@/1/g' \ -e 's/@''GNULIB_DUP3''@/0/g' \ -e 's/@''GNULIB_ENVIRON''@/1/g' \ -e 's/@''GNULIB_EUIDACCESS''@/0/g' \ -e 's/@''GNULIB_EXECL''@/0/g' \ -e 's/@''GNULIB_EXECLE''@/0/g' \ -e 's/@''GNULIB_EXECLP''@/0/g' \ -e 's/@''GNULIB_EXECV''@/0/g' \ -e 's/@''GNULIB_EXECVE''@/0/g' \ -e 's/@''GNULIB_EXECVP''@/0/g' \ -e 's/@''GNULIB_EXECVPE''@/0/g' \ -e 's/@''GNULIB_FACCESSAT''@/0/g' \ -e 's/@''GNULIB_FCHDIR''@/0/g' \ -e 's/@''GNULIB_FCHOWNAT''@/0/g' \ -e 's/@''GNULIB_FDATASYNC''@/0/g' \ -e 's/@''GNULIB_FSYNC''@/0/g' \ -e 's/@''GNULIB_FTRUNCATE''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_GETCWD''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_GETDOMAINNAME''@/0/g' \ -e 's/@''GNULIB_GETDTABLESIZE''@/1/g' \ -e 's/@''GNULIB_GETENTROPY''@/0/g' \ -e 's/@''GNULIB_GETGROUPS''@/0/g' \ -e 's/@''GNULIB_GETHOSTNAME''@/0/g' \ -e 's/@''GNULIB_GETLOGIN''@/0/g' \ -e 's/@''GNULIB_GETLOGIN_R''@/0/g' \ -e 's/@''GNULIB_GETOPT_POSIX''@/0/g' \ -e 's/@''GNULIB_GETPAGESIZE''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_GETPASS''@/1/g' \ -e 's/@''GNULIB_GETPASS_GNU''@/0/g' \ -e 's/@''GNULIB_GETUSERSHELL''@/0/g' \ -e 's/@''GNULIB_GROUP_MEMBER''@/0/g' \ -e 's/@''GNULIB_ISATTY''@/0/g' \ -e 's/@''GNULIB_LCHOWN''@/0/g' \ -e 's/@''GNULIB_LINK''@/0/g' \ -e 's/@''GNULIB_LINKAT''@/0/g' \ -e 's/@''GNULIB_LSEEK''@/1/g' \ -e 's/@''GNULIB_PIPE''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_PIPE2''@/0/g' \ -e 's/@''GNULIB_PREAD''@/0/g' \ -e 's/@''GNULIB_PWRITE''@/0/g' \ -e 's/@''GNULIB_READ''@/0/g' \ -e 's/@''GNULIB_READLINK''@/1/g' \ -e 's/@''GNULIB_READLINKAT''@/0/g' \ -e 's/@''GNULIB_RMDIR''@/0/g' \ -e 's/@''GNULIB_SETHOSTNAME''@/0/g' \ -e 's/@''GNULIB_SLEEP''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_SYMLINK''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_SYMLINKAT''@/0/g' \ -e 's/@''GNULIB_TRUNCATE''@/0/g' \ -e 's/@''GNULIB_TTYNAME_R''@/0/g' \ -e 's/@''GNULIB_UNISTD_H_GETOPT''@/00/g' \ -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/0/g' \ -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/0/g' \ -e 's/@''GNULIB_UNLINK''@/0/g' \ -e 's/@''GNULIB_UNLINKAT''@/0/g' \ -e 's/@''GNULIB_USLEEP''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_WRITE''@/0/g' \ -e 's/@''GNULIB_MDA_ACCESS''@/1/g' \ -e 's/@''GNULIB_MDA_CHDIR''@/1/g' \ -e 's/@''GNULIB_MDA_CLOSE''@/1/g' \ -e 's/@''GNULIB_MDA_DUP''@/1/g' \ -e 's/@''GNULIB_MDA_DUP2''@/1/g' \ -e 's/@''GNULIB_MDA_EXECL''@/1/g' \ -e 's/@''GNULIB_MDA_EXECLE''@/1/g' \ -e 's/@''GNULIB_MDA_EXECLP''@/1/g' \ -e 's/@''GNULIB_MDA_EXECV''@/1/g' \ -e 's/@''GNULIB_MDA_EXECVE''@/1/g' \ -e 's/@''GNULIB_MDA_EXECVP''@/1/g' \ -e 's/@''GNULIB_MDA_EXECVPE''@/1/g' \ -e 's/@''GNULIB_MDA_GETCWD''@/1/g' \ -e 's/@''GNULIB_MDA_GETPID''@/1/g' \ -e 's/@''GNULIB_MDA_ISATTY''@/1/g' \ -e 's/@''GNULIB_MDA_LSEEK''@/1/g' \ -e 's/@''GNULIB_MDA_READ''@/1/g' \ -e 's/@''GNULIB_MDA_RMDIR''@/1/g' \ -e 's/@''GNULIB_MDA_SWAB''@/1/g' \ -e 's/@''GNULIB_MDA_UNLINK''@/1/g' \ -e 's/@''GNULIB_MDA_WRITE''@/1/g' \ < ./unistd.in.h | \ sed -e 's|@''HAVE_CHOWN''@|1|g' \ -e 's|@''HAVE_COPY_FILE_RANGE''@|1|g' \ -e 's|@''HAVE_DUP3''@|1|g' \ -e 's|@''HAVE_EUIDACCESS''@|1|g' \ -e 's|@''HAVE_EXECVPE''@|1|g' \ -e 's|@''HAVE_FACCESSAT''@|1|g' \ -e 's|@''HAVE_FCHDIR''@|1|g' \ -e 's|@''HAVE_FCHOWNAT''@|1|g' \ -e 's|@''HAVE_FDATASYNC''@|1|g' \ -e 's|@''HAVE_FSYNC''@|1|g' \ -e 's|@''HAVE_FTRUNCATE''@|1|g' \ -e 's|@''HAVE_GETDTABLESIZE''@|1|g' \ -e 's|@''HAVE_GETENTROPY''@|1|g' \ -e 's|@''HAVE_GETGROUPS''@|1|g' \ -e 's|@''HAVE_GETHOSTNAME''@|1|g' \ -e 's|@''HAVE_GETPAGESIZE''@|1|g' \ -e 's|@''HAVE_GETPASS''@|1|g' \ -e 's|@''HAVE_GROUP_MEMBER''@|1|g' \ -e 's|@''HAVE_LCHOWN''@|1|g' \ -e 's|@''HAVE_LINK''@|1|g' \ -e 's|@''HAVE_LINKAT''@|1|g' \ -e 's|@''HAVE_PIPE''@|1|g' \ -e 's|@''HAVE_PIPE2''@|1|g' \ -e 's|@''HAVE_PREAD''@|1|g' \ -e 's|@''HAVE_PWRITE''@|1|g' \ -e 's|@''HAVE_READLINK''@|1|g' \ -e 's|@''HAVE_READLINKAT''@|1|g' \ -e 's|@''HAVE_SETHOSTNAME''@|1|g' \ -e 's|@''HAVE_SLEEP''@|1|g' \ -e 's|@''HAVE_SYMLINK''@|1|g' \ -e 's|@''HAVE_SYMLINKAT''@|1|g' \ -e 's|@''HAVE_UNLINKAT''@|1|g' \ -e 's|@''HAVE_USLEEP''@|1|g' \ -e 's|@''HAVE_DECL_ENVIRON''@|1|g' \ -e 's|@''HAVE_DECL_EXECVPE''@|1|g' \ -e 's|@''HAVE_DECL_FCHDIR''@|1|g' \ -e 's|@''HAVE_DECL_FDATASYNC''@|1|g' \ -e 's|@''HAVE_DECL_GETDOMAINNAME''@|1|g' \ -e 's|@''HAVE_DECL_GETLOGIN''@|1|g' \ -e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \ -e 's|@''HAVE_DECL_GETPAGESIZE''@|1|g' \ -e 's|@''HAVE_DECL_GETUSERSHELL''@|1|g' \ -e 's|@''HAVE_DECL_SETHOSTNAME''@|1|g' \ -e 's|@''HAVE_DECL_TRUNCATE''@|1|g' \ -e 's|@''HAVE_DECL_TTYNAME_R''@|1|g' \ -e 's|@''HAVE_OS_H''@|0|g' \ -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \ | \ sed -e 's|@''REPLACE_ACCESS''@|0|g' \ -e 's|@''REPLACE_CHOWN''@|0|g' \ -e 's|@''REPLACE_CLOSE''@|0|g' \ -e 's|@''REPLACE_COPY_FILE_RANGE''@|0|g' \ -e 's|@''REPLACE_DUP''@|0|g' \ -e 's|@''REPLACE_DUP2''@|0|g' \ -e 's|@''REPLACE_DUP3''@|0|g' \ -e 's|@''REPLACE_EXECL''@|0|g' \ -e 's|@''REPLACE_EXECLE''@|0|g' \ -e 's|@''REPLACE_EXECLP''@|0|g' \ -e 's|@''REPLACE_EXECV''@|0|g' \ -e 's|@''REPLACE_EXECVE''@|0|g' \ -e 's|@''REPLACE_EXECVP''@|0|g' \ -e 's|@''REPLACE_EXECVPE''@|0|g' \ -e 's|@''REPLACE_FACCESSAT''@|0|g' \ -e 's|@''REPLACE_FCHOWNAT''@|0|g' \ -e 's|@''REPLACE_FDATASYNC''@|0|g' \ -e 's|@''REPLACE_FTRUNCATE''@|0|g' \ -e 's|@''REPLACE_GETCWD''@|0|g' \ -e 's|@''REPLACE_GETDOMAINNAME''@|0|g' \ -e 's|@''REPLACE_GETDTABLESIZE''@|0|g' \ -e 's|@''REPLACE_GETENTROPY''@|0|g' \ -e 's|@''REPLACE_GETLOGIN_R''@|0|g' \ -e 's|@''REPLACE_GETGROUPS''@|0|g' \ -e 's|@''REPLACE_GETPAGESIZE''@|0|g' \ -e 's|@''REPLACE_GETPASS''@|0|g' \ -e 's|@''REPLACE_GETPASS_FOR_GETPASS_GNU''@|0|g' \ -e 's|@''REPLACE_ISATTY''@|0|g' \ -e 's|@''REPLACE_LCHOWN''@|0|g' \ -e 's|@''REPLACE_LINK''@|0|g' \ -e 's|@''REPLACE_LINKAT''@|0|g' \ -e 's|@''REPLACE_LSEEK''@|0|g' \ -e 's|@''REPLACE_PIPE2''@|0|g' \ -e 's|@''REPLACE_PREAD''@|0|g' \ -e 's|@''REPLACE_PWRITE''@|0|g' \ -e 's|@''REPLACE_READ''@|0|g' \ -e 's|@''REPLACE_READLINK''@|0|g' \ -e 's|@''REPLACE_READLINKAT''@|0|g' \ -e 's|@''REPLACE_RMDIR''@|0|g' \ -e 's|@''REPLACE_SETHOSTNAME''@|0|g' \ -e 's|@''REPLACE_SLEEP''@|0|g' \ -e 's|@''REPLACE_SYMLINK''@|0|g' \ -e 's|@''REPLACE_SYMLINKAT''@|0|g' \ -e 's|@''REPLACE_TRUNCATE''@|0|g' \ -e 's|@''REPLACE_TTYNAME_R''@|0|g' \ -e 's|@''REPLACE_UNLINK''@|0|g' \ -e 's|@''REPLACE_UNLINKAT''@|0|g' \ -e 's|@''REPLACE_USLEEP''@|0|g' \ -e 's|@''REPLACE_WRITE''@|0|g' \ -e 's|@''UNISTD_H_HAVE_SYS_RANDOM_H''@|0|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|0|g' \ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ > unistd.h-t mv unistd.h-t unistd.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''HAVE_FEATURES_H''@|1|g' \ -e 's|@''NEXT_WCHAR_H''@|<wchar.h>|g' \ -e 's|@''HAVE_WCHAR_H''@|1|g' \ -e 's/@''HAVE_CRTDEFS_H''@/0/g' \ -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/0/g' \ -e 's/@''GNULIB_BTOWC''@/0/g' \ -e 's/@''GNULIB_WCTOB''@/0/g' \ -e 's/@''GNULIB_MBSINIT''@/0/g' \ -e 's/@''GNULIB_MBRTOWC''@/0/g' \ -e 's/@''GNULIB_MBRLEN''@/0/g' \ -e 's/@''GNULIB_MBSRTOWCS''@/0/g' \ -e 's/@''GNULIB_MBSNRTOWCS''@/0/g' \ -e 's/@''GNULIB_WCRTOMB''@/0/g' \ -e 's/@''GNULIB_WCSRTOMBS''@/0/g' \ -e 's/@''GNULIB_WCSNRTOMBS''@/0/g' \ -e 's/@''GNULIB_WCWIDTH''@/0/g' \ -e 's/@''GNULIB_WMEMCHR''@/0/g' \ -e 's/@''GNULIB_WMEMCMP''@/0/g' \ -e 's/@''GNULIB_WMEMCPY''@/0/g' \ -e 's/@''GNULIB_WMEMMOVE''@/0/g' \ -e 's/@''GNULIB_WMEMPCPY''@/0/g' \ -e 's/@''GNULIB_WMEMSET''@/0/g' \ -e 's/@''GNULIB_WCSLEN''@/0/g' \ -e 's/@''GNULIB_WCSNLEN''@/0/g' \ -e 's/@''GNULIB_WCSCPY''@/0/g' \ -e 's/@''GNULIB_WCPCPY''@/0/g' \ -e 's/@''GNULIB_WCSNCPY''@/0/g' \ -e 's/@''GNULIB_WCPNCPY''@/0/g' \ -e 's/@''GNULIB_WCSCAT''@/0/g' \ -e 's/@''GNULIB_WCSNCAT''@/0/g' \ -e 's/@''GNULIB_WCSCMP''@/0/g' \ -e 's/@''GNULIB_WCSNCMP''@/0/g' \ -e 's/@''GNULIB_WCSCASECMP''@/0/g' \ -e 's/@''GNULIB_WCSNCASECMP''@/0/g' \ -e 's/@''GNULIB_WCSCOLL''@/0/g' \ -e 's/@''GNULIB_WCSXFRM''@/0/g' \ -e 's/@''GNULIB_WCSDUP''@/0/g' \ -e 's/@''GNULIB_WCSCHR''@/0/g' \ -e 's/@''GNULIB_WCSRCHR''@/0/g' \ -e 's/@''GNULIB_WCSCSPN''@/0/g' \ -e 's/@''GNULIB_WCSSPN''@/0/g' \ -e 's/@''GNULIB_WCSPBRK''@/0/g' \ -e 's/@''GNULIB_WCSSTR''@/0/g' \ -e 's/@''GNULIB_WCSTOK''@/0/g' \ -e 's/@''GNULIB_WCSWIDTH''@/0/g' \ -e 's/@''GNULIB_WCSFTIME''@/0/g' \ -e 's/@''GNULIB_MDA_WCSDUP''@/1/g' \ -e 's/@''GNULIB_FREE_POSIX''@/1/g' \ < ./wchar.in.h | \ sed -e 's|@''HAVE_WINT_T''@|1|g' \ -e 's|@''HAVE_BTOWC''@|1|g' \ -e 's|@''HAVE_MBSINIT''@|1|g' \ -e 's|@''HAVE_MBRTOWC''@|1|g' \ -e 's|@''HAVE_MBRLEN''@|1|g' \ -e 's|@''HAVE_MBSRTOWCS''@|1|g' \ -e 's|@''HAVE_MBSNRTOWCS''@|1|g' \ -e 's|@''HAVE_WCRTOMB''@|1|g' \ -e 's|@''HAVE_WCSRTOMBS''@|1|g' \ -e 's|@''HAVE_WCSNRTOMBS''@|1|g' \ -e 's|@''HAVE_WMEMCHR''@|1|g' \ -e 's|@''HAVE_WMEMCMP''@|1|g' \ -e 's|@''HAVE_WMEMCPY''@|1|g' \ -e 's|@''HAVE_WMEMMOVE''@|1|g' \ -e 's|@''HAVE_WMEMPCPY''@|1|g' \ -e 's|@''HAVE_WMEMSET''@|1|g' \ -e 's|@''HAVE_WCSLEN''@|1|g' \ -e 's|@''HAVE_WCSNLEN''@|1|g' \ -e 's|@''HAVE_WCSCPY''@|1|g' \ -e 's|@''HAVE_WCPCPY''@|1|g' \ -e 's|@''HAVE_WCSNCPY''@|1|g' \ -e 's|@''HAVE_WCPNCPY''@|1|g' \ -e 's|@''HAVE_WCSCAT''@|1|g' \ -e 's|@''HAVE_WCSNCAT''@|1|g' \ -e 's|@''HAVE_WCSCMP''@|1|g' \ -e 's|@''HAVE_WCSNCMP''@|1|g' \ -e 's|@''HAVE_WCSCASECMP''@|1|g' \ -e 's|@''HAVE_WCSNCASECMP''@|1|g' \ -e 's|@''HAVE_WCSCOLL''@|1|g' \ -e 's|@''HAVE_WCSXFRM''@|1|g' \ -e 's|@''HAVE_WCSDUP''@|1|g' \ -e 's|@''HAVE_WCSCHR''@|1|g' \ -e 's|@''HAVE_WCSRCHR''@|1|g' \ -e 's|@''HAVE_WCSCSPN''@|1|g' \ -e 's|@''HAVE_WCSSPN''@|1|g' \ -e 's|@''HAVE_WCSPBRK''@|1|g' \ -e 's|@''HAVE_WCSSTR''@|1|g' \ -e 's|@''HAVE_WCSTOK''@|1|g' \ -e 's|@''HAVE_WCSWIDTH''@|1|g' \ -e 's|@''HAVE_WCSFTIME''@|1|g' \ -e 's|@''HAVE_DECL_WCTOB''@|1|g' \ -e 's|@''HAVE_DECL_WCSDUP''@|1|g' \ -e 's|@''HAVE_DECL_WCWIDTH''@|1|g' \ | \ sed -e 's|@''REPLACE_MBSTATE_T''@|0|g' \ -e 's|@''REPLACE_BTOWC''@|0|g' \ -e 's|@''REPLACE_WCTOB''@|0|g' \ -e 's|@''REPLACE_FREE''@|0|g' \ -e 's|@''REPLACE_MBSINIT''@|0|g' \ -e 's|@''REPLACE_MBRTOWC''@|0|g' \ -e 's|@''REPLACE_MBRLEN''@|0|g' \ -e 's|@''REPLACE_MBSRTOWCS''@|0|g' \ -e 's|@''REPLACE_MBSNRTOWCS''@|0|g' \ -e 's|@''REPLACE_WCRTOMB''@|0|g' \ -e 's|@''REPLACE_WCSRTOMBS''@|0|g' \ -e 's|@''REPLACE_WCSNRTOMBS''@|0|g' \ -e 's|@''REPLACE_WCWIDTH''@|0|g' \ -e 's|@''REPLACE_WCSWIDTH''@|0|g' \ -e 's|@''REPLACE_WCSFTIME''@|0|g' \ -e 's|@''REPLACE_WCSTOK''@|0|g' \ -e 's|@''REPLACE_WMEMPCPY''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ > wchar.h-t mv wchar.h-t wchar.h make all-recursive make[3]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl' Making all in . make[4]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl' /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-basename-lgpl.lo `test -f 'basename-lgpl.c' || echo './'`basename-lgpl.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c basename-lgpl.c -fPIC -DPIC -o .libs/libgnu_gpl_la-basename-lgpl.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-bitrotate.lo `test -f 'bitrotate.c' || echo './'`bitrotate.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c bitrotate.c -fPIC -DPIC -o .libs/libgnu_gpl_la-bitrotate.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-c-ctype.lo `test -f 'c-ctype.c' || echo './'`c-ctype.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c c-ctype.c -fPIC -DPIC -o .libs/libgnu_gpl_la-c-ctype.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-c-strcasecmp.lo `test -f 'c-strcasecmp.c' || echo './'`c-strcasecmp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c c-strcasecmp.c -fPIC -DPIC -o .libs/libgnu_gpl_la-c-strcasecmp.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-c-strncasecmp.lo `test -f 'c-strncasecmp.c' || echo './'`c-strncasecmp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c c-strncasecmp.c -fPIC -DPIC -o .libs/libgnu_gpl_la-c-strncasecmp.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-cloexec.lo `test -f 'cloexec.c' || echo './'`cloexec.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cloexec.c -fPIC -DPIC -o .libs/libgnu_gpl_la-cloexec.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-close-stream.lo `test -f 'close-stream.c' || echo './'`close-stream.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c close-stream.c -fPIC -DPIC -o .libs/libgnu_gpl_la-close-stream.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-exitfail.lo `test -f 'exitfail.c' || echo './'`exitfail.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c exitfail.c -fPIC -DPIC -o .libs/libgnu_gpl_la-exitfail.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-fcntl.lo `test -f 'fcntl.c' || echo './'`fcntl.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c fcntl.c -fPIC -DPIC -o .libs/libgnu_gpl_la-fcntl.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-fd-hook.lo `test -f 'fd-hook.c' || echo './'`fd-hook.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c fd-hook.c -fPIC -DPIC -o .libs/libgnu_gpl_la-fd-hook.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-getprogname.lo `test -f 'getprogname.c' || echo './'`getprogname.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c getprogname.c -fPIC -DPIC -o .libs/libgnu_gpl_la-getprogname.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-gettime.lo `test -f 'gettime.c' || echo './'`gettime.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gettime.c -fPIC -DPIC -o .libs/libgnu_gpl_la-gettime.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o malloc/libgnu_gpl_la-scratch_buffer_grow.lo `test -f 'malloc/scratch_buffer_grow.c' || echo './'`malloc/scratch_buffer_grow.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c malloc/scratch_buffer_grow.c -fPIC -DPIC -o malloc/.libs/libgnu_gpl_la-scratch_buffer_grow.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o malloc/libgnu_gpl_la-scratch_buffer_grow_preserve.lo `test -f 'malloc/scratch_buffer_grow_preserve.c' || echo './'`malloc/scratch_buffer_grow_preserve.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c malloc/scratch_buffer_grow_preserve.c -fPIC -DPIC -o malloc/.libs/libgnu_gpl_la-scratch_buffer_grow_preserve.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o malloc/libgnu_gpl_la-scratch_buffer_set_array_size.lo `test -f 'malloc/scratch_buffer_set_array_size.c' || echo './'`malloc/scratch_buffer_set_array_size.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c malloc/scratch_buffer_set_array_size.c -fPIC -DPIC -o malloc/.libs/libgnu_gpl_la-scratch_buffer_set_array_size.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-hash.lo `test -f 'hash.c' || echo './'`hash.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c hash.c -fPIC -DPIC -o .libs/libgnu_gpl_la-hash.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-hash-pjw-bare.lo `test -f 'hash-pjw-bare.c' || echo './'`hash-pjw-bare.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c hash-pjw-bare.c -fPIC -DPIC -o .libs/libgnu_gpl_la-hash-pjw-bare.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-ialloc.lo `test -f 'ialloc.c' || echo './'`ialloc.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c ialloc.c -fPIC -DPIC -o .libs/libgnu_gpl_la-ialloc.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-gl_linked_list.lo `test -f 'gl_linked_list.c' || echo './'`gl_linked_list.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gl_linked_list.c -fPIC -DPIC -o .libs/libgnu_gpl_la-gl_linked_list.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-gl_linkedhash_list.lo `test -f 'gl_linkedhash_list.c' || echo './'`gl_linkedhash_list.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gl_linkedhash_list.c -fPIC -DPIC -o .libs/libgnu_gpl_la-gl_linkedhash_list.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-gl_list.lo `test -f 'gl_list.c' || echo './'`gl_list.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gl_list.c -fPIC -DPIC -o .libs/libgnu_gpl_la-gl_list.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o glthread/libgnu_gpl_la-lock.lo `test -f 'glthread/lock.c' || echo './'`glthread/lock.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c glthread/lock.c -fPIC -DPIC -o glthread/.libs/libgnu_gpl_la-lock.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-malloca.lo `test -f 'malloca.c' || echo './'`malloca.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c malloca.c -fPIC -DPIC -o .libs/libgnu_gpl_la-malloca.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-memset_explicit.lo `test -f 'memset_explicit.c' || echo './'`memset_explicit.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c memset_explicit.c -fPIC -DPIC -o .libs/libgnu_gpl_la-memset_explicit.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-nstrftime.lo `test -f 'nstrftime.c' || echo './'`nstrftime.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c nstrftime.c -fPIC -DPIC -o .libs/libgnu_gpl_la-nstrftime.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-parse-datetime.lo `test -f 'parse-datetime.c' || echo './'`parse-datetime.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c parse-datetime.c -fPIC -DPIC -o .libs/libgnu_gpl_la-parse-datetime.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-progname.lo `test -f 'progname.c' || echo './'`progname.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c progname.c -fPIC -DPIC -o .libs/libgnu_gpl_la-progname.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-read-file.lo `test -f 'read-file.c' || echo './'`read-file.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c read-file.c -fPIC -DPIC -o .libs/libgnu_gpl_la-read-file.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-sockets.lo `test -f 'sockets.c' || echo './'`sockets.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c sockets.c -fPIC -DPIC -o .libs/libgnu_gpl_la-sockets.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-stat-time.lo `test -f 'stat-time.c' || echo './'`stat-time.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c stat-time.c -fPIC -DPIC -o .libs/libgnu_gpl_la-stat-time.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-sys_socket.lo `test -f 'sys_socket.c' || echo './'`sys_socket.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c sys_socket.c -fPIC -DPIC -o .libs/libgnu_gpl_la-sys_socket.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o glthread/libgnu_gpl_la-threadlib.lo `test -f 'glthread/threadlib.c' || echo './'`glthread/threadlib.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c glthread/threadlib.c -fPIC -DPIC -o glthread/.libs/libgnu_gpl_la-threadlib.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-time_rz.lo `test -f 'time_rz.c' || echo './'`time_rz.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c time_rz.c -fPIC -DPIC -o .libs/libgnu_gpl_la-time_rz.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-timespec.lo `test -f 'timespec.c' || echo './'`timespec.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c timespec.c -fPIC -DPIC -o .libs/libgnu_gpl_la-timespec.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o glthread/libgnu_gpl_la-tls.lo `test -f 'glthread/tls.c' || echo './'`glthread/tls.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c glthread/tls.c -fPIC -DPIC -o glthread/.libs/libgnu_gpl_la-tls.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-unistd.lo `test -f 'unistd.c' || echo './'`unistd.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c unistd.c -fPIC -DPIC -o .libs/libgnu_gpl_la-unistd.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-xmalloc.lo `test -f 'xmalloc.c' || echo './'`xmalloc.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c xmalloc.c -fPIC -DPIC -o .libs/libgnu_gpl_la-xmalloc.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-xalloc-die.lo `test -f 'xalloc-die.c' || echo './'`xalloc-die.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c xalloc-die.c -fPIC -DPIC -o .libs/libgnu_gpl_la-xalloc-die.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-gl_xlist.lo `test -f 'gl_xlist.c' || echo './'`gl_xlist.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gl_xlist.c -fPIC -DPIC -o .libs/libgnu_gpl_la-gl_xlist.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o libgnu_gpl_la-xsize.lo `test -f 'xsize.c' || echo './'`xsize.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c xsize.c -fPIC -DPIC -o .libs/libgnu_gpl_la-xsize.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o asnprintf.lo asnprintf.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c asnprintf.c -fPIC -DPIC -o .libs/asnprintf.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o mktime.lo mktime.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c mktime.c -fPIC -DPIC -o .libs/mktime.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o printf-args.lo printf-args.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c printf-args.c -fPIC -DPIC -o .libs/printf-args.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o printf-parse.lo printf-parse.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c printf-parse.c -fPIC -DPIC -o .libs/printf-parse.o /bin/sh ../../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o vasnprintf.lo vasnprintf.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c vasnprintf.c -fPIC -DPIC -o .libs/vasnprintf.o /bin/sh ../../libtool --tag=CC --mode=link i586-alt-linux-gcc -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -no-undefined -o libgnu_gpl.la libgnu_gpl_la-basename-lgpl.lo libgnu_gpl_la-bitrotate.lo libgnu_gpl_la-c-ctype.lo libgnu_gpl_la-c-strcasecmp.lo libgnu_gpl_la-c-strncasecmp.lo libgnu_gpl_la-cloexec.lo libgnu_gpl_la-close-stream.lo libgnu_gpl_la-exitfail.lo libgnu_gpl_la-fcntl.lo libgnu_gpl_la-fd-hook.lo libgnu_gpl_la-getprogname.lo libgnu_gpl_la-gettime.lo malloc/libgnu_gpl_la-scratch_buffer_grow.lo malloc/libgnu_gpl_la-scratch_buffer_grow_preserve.lo malloc/libgnu_gpl_la-scratch_buffer_set_array_size.lo libgnu_gpl_la-hash.lo libgnu_gpl_la-hash-pjw-bare.lo libgnu_gpl_la-ialloc.lo libgnu_gpl_la-gl_linked_list.lo libgnu_gpl_la-gl_linkedhash_list.lo libgnu_gpl_la-gl_list.lo glthread/libgnu_gpl_la-lock.lo libgnu_gpl_la-malloca.lo libgnu_gpl_la-memset_explicit.lo libgnu_gpl_la-nstrftime.lo libgnu_gpl_la-parse-datetime.lo libgnu_gpl_la-progname.lo libgnu_gpl_la-read-file.lo libgnu_gpl_la-sockets.lo libgnu_gpl_la-stat-time.lo libgnu_gpl_la-sys_socket.lo glthread/libgnu_gpl_la-threadlib.lo libgnu_gpl_la-time_rz.lo libgnu_gpl_la-timespec.lo glthread/libgnu_gpl_la-tls.lo libgnu_gpl_la-unistd.lo libgnu_gpl_la-xmalloc.lo libgnu_gpl_la-xalloc-die.lo libgnu_gpl_la-gl_xlist.lo libgnu_gpl_la-xsize.lo asnprintf.lo mktime.lo printf-args.lo printf-parse.lo vasnprintf.lo libtool: link: ar cr .libs/libgnu_gpl.a .libs/libgnu_gpl_la-basename-lgpl.o .libs/libgnu_gpl_la-bitrotate.o .libs/libgnu_gpl_la-c-ctype.o .libs/libgnu_gpl_la-c-strcasecmp.o .libs/libgnu_gpl_la-c-strncasecmp.o .libs/libgnu_gpl_la-cloexec.o .libs/libgnu_gpl_la-close-stream.o .libs/libgnu_gpl_la-exitfail.o .libs/libgnu_gpl_la-fcntl.o .libs/libgnu_gpl_la-fd-hook.o .libs/libgnu_gpl_la-getprogname.o .libs/libgnu_gpl_la-gettime.o malloc/.libs/libgnu_gpl_la-scratch_buffer_grow.o malloc/.libs/libgnu_gpl_la-scratch_buffer_grow_preserve.o malloc/.libs/libgnu_gpl_la-scratch_buffer_set_array_size.o .libs/libgnu_gpl_la-hash.o .libs/libgnu_gpl_la-hash-pjw-bare.o .libs/libgnu_gpl_la-ialloc.o .libs/libgnu_gpl_la-gl_linked_list.o .libs/libgnu_gpl_la-gl_linkedhash_list.o .libs/libgnu_gpl_la-gl_list.o glthread/.libs/libgnu_gpl_la-lock.o .libs/libgnu_gpl_la-malloca.o .libs/libgnu_gpl_la-memset_explicit.o .libs/libgnu_gpl_la-nstrftime.o .libs/libgnu_gpl_la-parse-datetime.o .libs/libgnu_gpl_la-progname.o .libs/libgnu_gpl_la-read-file.o .libs/libgnu_gpl_la-sockets.o .libs/libgnu_gpl_la-stat-time.o .libs/libgnu_gpl_la-sys_socket.o glthread/.libs/libgnu_gpl_la-threadlib.o .libs/libgnu_gpl_la-time_rz.o .libs/libgnu_gpl_la-timespec.o glthread/.libs/libgnu_gpl_la-tls.o .libs/libgnu_gpl_la-unistd.o .libs/libgnu_gpl_la-xmalloc.o .libs/libgnu_gpl_la-xalloc-die.o .libs/libgnu_gpl_la-gl_xlist.o .libs/libgnu_gpl_la-xsize.o .libs/asnprintf.o .libs/mktime.o .libs/printf-args.o .libs/printf-parse.o .libs/vasnprintf.o libtool: link: ranlib .libs/libgnu_gpl.a libtool: link: ( cd ".libs" && rm -f "libgnu_gpl.la" && ln -s "../libgnu_gpl.la" "libgnu_gpl.la" ) make[4]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl' Making all in tests make[4]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl/tests' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_CTYPE_H''@|<ctype.h>|g' \ -e 's/@''GNULIB_ISBLANK''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''HAVE_ISBLANK''@/1/g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./ctype.in.h > ctype.h-t mv ctype.h-t ctype.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''HAVE_LANGINFO_H''@|1|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_LANGINFO_H''@|<langinfo.h>|g' \ -e 's/@''GNULIB_NL_LANGINFO''@/0/g' \ -e 's|@''HAVE_LANGINFO_CODESET''@|1|g' \ -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|1|g' \ -e 's|@''HAVE_LANGINFO_ALTMON''@|1|g' \ -e 's|@''HAVE_LANGINFO_ERA''@|1|g' \ -e 's|@''HAVE_LANGINFO_YESEXPR''@|1|g' \ -e 's|@''HAVE_NL_LANGINFO''@|1|g' \ -e 's|@''REPLACE_NL_LANGINFO''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./langinfo.in.h > langinfo.h-t mv langinfo.h-t langinfo.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_LOCALE_H''@|<locale.h>|g' \ -e 's/@''GNULIB_LOCALECONV''@/0/g' \ -e 's/@''GNULIB_SETLOCALE''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_SETLOCALE_NULL''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_DUPLOCALE''@/0/g' \ -e 's/@''GNULIB_LOCALENAME''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's|@''HAVE_NEWLOCALE''@|1|g' \ -e 's|@''HAVE_DUPLOCALE''@|1|g' \ -e 's|@''HAVE_FREELOCALE''@|1|g' \ -e 's|@''HAVE_XLOCALE_H''@|0|g' \ -e 's|@''REPLACE_LOCALECONV''@|0|g' \ -e 's|@''REPLACE_SETLOCALE''@|0|g' \ -e 's|@''REPLACE_NEWLOCALE''@|0|g' \ -e 's|@''REPLACE_DUPLOCALE''@|0|g' \ -e 's|@''REPLACE_FREELOCALE''@|0|g' \ -e 's|@''REPLACE_STRUCT_LCONV''@|0|g' \ -e 's|@''LOCALENAME_ENHANCE_LOCALE_FUNCS''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./locale.in.h > locale.h-t mv locale.h-t locale.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''HAVE_PTHREAD_H''@|1|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_PTHREAD_H''@|<pthread.h>|g' \ -e 's/@''GNULIB_PTHREAD_THREAD''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's/@''GNULIB_PTHREAD_ONCE''@/0/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX''@/0/g' \ -e 's/@''GNULIB_PTHREAD_RWLOCK''@/0/g' \ -e 's/@''GNULIB_PTHREAD_COND''@/0/g' \ -e 's/@''GNULIB_PTHREAD_TSS''@/0/g' \ -e 's/@''GNULIB_PTHREAD_SPIN''@/0/g' \ -e 's/@''GNULIB_PTHREAD_MUTEX_TIMEDLOCK''@/0/g' \ -e 's|@''HAVE_PTHREAD_T''@|1|g' \ -e 's|@''HAVE_PTHREAD_SPINLOCK_T''@|1|g' \ -e 's|@''HAVE_PTHREAD_CREATE_DETACHED''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_RECURSIVE''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_ROBUST''@|1|g' \ -e 's|@''HAVE_PTHREAD_PROCESS_SHARED''@|1|g' \ -e 's|@''HAVE_PTHREAD_CREATE''@|1|g' \ -e 's|@''HAVE_PTHREAD_ATTR_INIT''@|1|g' \ -e 's|@''HAVE_PTHREAD_ATTR_GETDETACHSTATE''@|1|g' \ -e 's|@''HAVE_PTHREAD_ATTR_SETDETACHSTATE''@|1|g' \ -e 's|@''HAVE_PTHREAD_ATTR_DESTROY''@|1|g' \ -e 's|@''HAVE_PTHREAD_SELF''@|1|g' \ -e 's|@''HAVE_PTHREAD_EQUAL''@|1|g' \ -e 's|@''HAVE_PTHREAD_DETACH''@|1|g' \ -e 's|@''HAVE_PTHREAD_JOIN''@|1|g' \ -e 's|@''HAVE_PTHREAD_EXIT''@|1|g' \ -e 's|@''HAVE_PTHREAD_ONCE''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_INIT''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_INIT''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETTYPE''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETTYPE''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_GETROBUST''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_SETROBUST''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEXATTR_DESTROY''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_LOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TRYLOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_TIMEDLOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_UNLOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_MUTEX_DESTROY''@|1|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_INIT''@|1|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_INIT''@|1|g' \ -e 's|@''HAVE_PTHREAD_RWLOCKATTR_DESTROY''@|1|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_RDLOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_WRLOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYRDLOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TRYWRLOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_UNLOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_RWLOCK_DESTROY''@|1|g' \ -e 's|@''HAVE_PTHREAD_COND_INIT''@|1|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_INIT''@|1|g' \ -e 's|@''HAVE_PTHREAD_CONDATTR_DESTROY''@|1|g' \ -e 's|@''HAVE_PTHREAD_COND_WAIT''@|1|g' \ -e 's|@''HAVE_PTHREAD_COND_TIMEDWAIT''@|1|g' \ -e 's|@''HAVE_PTHREAD_COND_SIGNAL''@|1|g' \ -e 's|@''HAVE_PTHREAD_COND_BROADCAST''@|1|g' \ -e 's|@''HAVE_PTHREAD_COND_DESTROY''@|1|g' \ -e 's|@''HAVE_PTHREAD_KEY_CREATE''@|1|g' \ -e 's|@''HAVE_PTHREAD_SETSPECIFIC''@|1|g' \ -e 's|@''HAVE_PTHREAD_GETSPECIFIC''@|1|g' \ -e 's|@''HAVE_PTHREAD_KEY_DELETE''@|1|g' \ -e 's|@''HAVE_PTHREAD_SPIN_INIT''@|1|g' \ -e 's|@''HAVE_PTHREAD_SPIN_LOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_SPIN_TRYLOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_SPIN_UNLOCK''@|1|g' \ -e 's|@''HAVE_PTHREAD_SPIN_DESTROY''@|1|g' \ < ./pthread.in.h | \ sed -e 's|@''REPLACE_PTHREAD_CREATE''@|0|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_INIT''@|0|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_GETDETACHSTATE''@|0|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_SETDETACHSTATE''@|0|g' \ -e 's|@''REPLACE_PTHREAD_ATTR_DESTROY''@|0|g' \ -e 's|@''REPLACE_PTHREAD_SELF''@|0|g' \ -e 's|@''REPLACE_PTHREAD_EQUAL''@|0|g' \ -e 's|@''REPLACE_PTHREAD_DETACH''@|0|g' \ -e 's|@''REPLACE_PTHREAD_JOIN''@|0|g' \ -e 's|@''REPLACE_PTHREAD_EXIT''@|0|g' \ -e 's|@''REPLACE_PTHREAD_ONCE''@|0|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_INIT''@|0|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_INIT''@|0|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETTYPE''@|0|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETTYPE''@|0|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_GETROBUST''@|0|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_SETROBUST''@|0|g' \ -e 's|@''REPLACE_PTHREAD_MUTEXATTR_DESTROY''@|0|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_LOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TRYLOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_TIMEDLOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_UNLOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_MUTEX_DESTROY''@|0|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_INIT''@|0|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_INIT''@|0|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCKATTR_DESTROY''@|0|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_RDLOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_WRLOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYRDLOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TRYWRLOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDRDLOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_TIMEDWRLOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_UNLOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_RWLOCK_DESTROY''@|0|g' \ -e 's|@''REPLACE_PTHREAD_COND_INIT''@|0|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_INIT''@|0|g' \ -e 's|@''REPLACE_PTHREAD_CONDATTR_DESTROY''@|0|g' \ -e 's|@''REPLACE_PTHREAD_COND_WAIT''@|0|g' \ -e 's|@''REPLACE_PTHREAD_COND_TIMEDWAIT''@|0|g' \ -e 's|@''REPLACE_PTHREAD_COND_SIGNAL''@|0|g' \ -e 's|@''REPLACE_PTHREAD_COND_BROADCAST''@|0|g' \ -e 's|@''REPLACE_PTHREAD_COND_DESTROY''@|0|g' \ -e 's|@''REPLACE_PTHREAD_KEY_CREATE''@|0|g' \ -e 's|@''REPLACE_PTHREAD_SETSPECIFIC''@|0|g' \ -e 's|@''REPLACE_PTHREAD_GETSPECIFIC''@|0|g' \ -e 's|@''REPLACE_PTHREAD_KEY_DELETE''@|0|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_INIT''@|0|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_LOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_TRYLOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_UNLOCK''@|0|g' \ -e 's|@''REPLACE_PTHREAD_SPIN_DESTROY''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _Noreturn/r ./_Noreturn.h' \ -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ > pthread.h-t mv pthread.h-t pthread.h sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''HAVE_SCHED_H''@|1|g' \ -e 's|@''HAVE_SYS_CDEFS_H''@|1|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SCHED_H''@|<sched.h>|g' \ -e 's|@''HAVE_STRUCT_SCHED_PARAM''@|1|g' \ -e 's/@''GNULIB_SCHED_YIELD''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's|@''HAVE_SCHED_YIELD''@|1|g' \ -e 's|@''REPLACE_SCHED_YIELD''@|0|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./sched.in.h > sched.h-t mv sched.h-t sched.h /bin/mkdir -p 'sys' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL_GGL|g' \ -e 's|@''HAVE_SYS_IOCTL_H''@|1|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \ -e 's|@''PRAGMA_COLUMNS''@||g' \ -e 's|@''NEXT_SYS_IOCTL_H''@|<sys/ioctl.h>|g' \ -e 's/@''GNULIB_IOCTL''@/IN_GNUTLS_GNULIB_TESTS/g' \ -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H''@|0|g' \ -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|0|g' \ -e 's|@''REPLACE_IOCTL''@|1|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \ -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \ ./sys_ioctl.in.h > sys/ioctl.h-t mv sys/ioctl.h-t sys/ioctl.h ## ---------------------------------------------------- ## ## ------------------- Gnulib tests ------------------- ## ## You can ignore compiler warnings in this directory. ## ## ---------------------------------------------------- ## make all-recursive make[5]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl/tests' Making all in . make[6]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl/tests' make[6]: Nothing to be done for 'all-am'. make[6]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl/tests' make[5]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl/tests' make[4]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl/tests' make[3]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl' make[2]: Leaving directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl' Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src' make all-am make[3]: Entering directory '/usr/src/RPM/BUILD/gnutls-3.8.1/src' i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o psk.o psk.c /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o psktool-options.lo psktool-options.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c psktool-options.c -fPIC -DPIC -o .libs/psktool-options.o /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libcmd-psk.la psktool-options.lo libtool: link: ar cr .libs/libcmd-psk.a .libs/psktool-options.o libtool: link: ranlib .libs/libcmd-psk.a libtool: link: ( cd ".libs" && rm -f "libcmd-psk.la" && ln -s "../libcmd-psk.la" "libcmd-psk.la" ) /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o psktool psk.o ../lib/libgnutls.la libcmd-psk.la ../gl/libgnu.la gl/libgnu_gpl.la libtool: link: i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o .libs/psktool psk.o ../lib/.libs/libgnutls.so ./.libs/libcmd-psk.a ../gl/.libs/libgnu.a gl/.libs/libgnu_gpl.a i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cli-debug.o cli-debug.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o tests.o tests.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o socket.o socket.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o common.o common.c /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gnutls-cli-debug-options.lo gnutls-cli-debug-options.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gnutls-cli-debug-options.c -fPIC -DPIC -o .libs/gnutls-cli-debug-options.o /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libcmd-cli-debug.la gnutls-cli-debug-options.lo libtool: link: ar cr .libs/libcmd-cli-debug.a .libs/gnutls-cli-debug-options.o libtool: link: ranlib .libs/libcmd-cli-debug.a libtool: link: ( cd ".libs" && rm -f "libcmd-cli-debug.la" && ln -s "../libcmd-cli-debug.la" "libcmd-cli-debug.la" ) /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o gnutls-cli-debug cli-debug.o tests.o socket.o common.o ../lib/libgnutls.la libcmd-cli-debug.la ../gl/libgnu.la gl/libgnu_gpl.la libtool: link: i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o .libs/gnutls-cli-debug cli-debug.o tests.o socket.o common.o ../lib/.libs/libgnutls.so ./.libs/libcmd-cli-debug.a ../gl/.libs/libgnu.a gl/.libs/libgnu_gpl.a gl/parse-datetime.c: In function 'yyparse': gl/parse-datetime.c:1715:12: warning: use of uninitialized value 'yylval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1715 | *++yyvsp = yylval; | ^ 'parse_datetime_body': events 1-8 | |gl/parse-datetime.y:1708:1: | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1510 | YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default); | | ~ | | | | | (10) region created on stack here | | (11) capacity: 52 bytes |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (12) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (14) following 'false' branch (when 'yystate_221 != 12')... | | (13) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (15) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (16) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (18) following 'true' branch (when 'yychar_208 == -2')... | | (17) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (19) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (20) calling 'yylex' from 'yyparse' | +--> 'yylex': events 21-22 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (21) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (22) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 23-24 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (23) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (24) ...to here | <-------------+ | 'yyparse': events 25-32 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (25) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (26) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (27) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (28) following 'false' branch (when 'yyn_258 > 0')... |...... | 1708 | if (yyerrstatus) | | ~ ~ | | | | | | | (30) following 'false' branch (when 'yyerrstatus_224 == 0')... | | (29) ...to here |...... | 1712 | YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); | | ~ | | | | | (31) ...to here |...... | 1715 | *++yyvsp = yylval; | | ~ | | | | | (32) use of uninitialized value 'yylval' here | gl/parse-datetime.c:1715:12: warning: use of uninitialized value 'yylval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1715 | *++yyvsp = yylval; | ^ 'parse_datetime': events 1-2 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1510 | YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default); | | ~ | | | | | (40) region created on stack here | | (41) capacity: 52 bytes |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (42) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (44) following 'false' branch (when 'yystate_221 != 12')... | | (43) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (45) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (46) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (48) following 'true' branch (when 'yychar_208 == -2')... | | (47) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (49) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (50) calling 'yylex' from 'yyparse' | +--> 'yylex': events 51-52 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (51) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (52) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 53-54 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (53) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (54) ...to here | <-------------+ | 'yyparse': events 55-62 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (55) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (56) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (57) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (58) following 'false' branch (when 'yyn_258 > 0')... |...... | 1708 | if (yyerrstatus) | | ~ ~ | | | | | | | (60) following 'false' branch (when 'yyerrstatus_224 == 0')... | | (59) ...to here |...... | 1712 | YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); | | ~ | | | | | (61) ...to here |...... | 1715 | *++yyvsp = yylval; | | ~ | | | | | (62) use of uninitialized value 'yylval' here | gl/parse-datetime.c:1748:9: warning: use of uninitialized value '*_15' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1748 | yyval = yyvsp[1-yylen]; | ^ 'parse_datetime_body': events 1-8 | |gl/parse-datetime.y:1708:1: | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (17) following 'true' branch (when 'yychar_208 == -2')... | | (16) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (18) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (19) calling 'yylex' from 'yyparse' | +--> 'yylex': events 20-21 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (20) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (21) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 22-23 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (22) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (23) ...to here | <-------------+ | 'yyparse': events 24-29 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (24) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (25) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (26) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (27) following 'true' branch (when 'yyn_258 <= 0')... | 1699 | { | 1700 | if (yytable_value_is_error (yyn)) | | ~ | | | | | (28) ...to here |...... | 1748 | yyval = yyvsp[1-yylen]; | | ~ | | | | | (29) use of uninitialized value '*_15' here | gl/parse-datetime.c:1748:9: warning: use of uninitialized value '*_15' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1748 | yyval = yyvsp[1-yylen]; | ^ 'parse_datetime': events 1-2 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (47) following 'true' branch (when 'yychar_208 == -2')... | | (46) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (48) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (49) calling 'yylex' from 'yyparse' | +--> 'yylex': events 50-51 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (50) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (51) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 52-53 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (52) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (53) ...to here | <-------------+ | 'yyparse': events 54-59 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (54) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (55) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (56) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (57) following 'true' branch (when 'yyn_258 <= 0')... | 1699 | { | 1700 | if (yytable_value_is_error (yyn)) | | ~ | | | | | (58) ...to here |...... | 1748 | yyval = yyvsp[1-yylen]; | | ~ | | | | | (59) use of uninitialized value '*_15' here | gl/parse-datetime.y:600:21: warning: use of uninitialized value 'yyvsp_231->timespec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 600 | pc->seconds = $2; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 4:' branch... | 1753 | { | 1754 | case 4: /* timespec: '@' seconds */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:600:21: | 600 | pc->seconds = $2; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->timespec' here | gl/parse-datetime.y:600:21: warning: use of uninitialized value 'yyvsp_231->timespec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 4:' branch... | 1753 | { | 1754 | case 4: /* timespec: '@' seconds */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:600:21: | 600 | pc->seconds = $2; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->timespec' here | gl/parse-datetime.y:672:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:672:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:672:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:672:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:672:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:672:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:677:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:677:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:677:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:677:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:677:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:677:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:682:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:682:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:682:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:682:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:682:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:682:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:691:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:691:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:691:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:691:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:691:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:691:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:696:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:696:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:696:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:696:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:696:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:696:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:701:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:701:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:701:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:701:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:701:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:701:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:715:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 28:' branch... |...... | 1905 | case 28: /* zone_offset: tSNUMBER o_colon_minutes */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:715:15: | 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:715:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 28:' branch... |...... | 1905 | case 28: /* zone_offset: tSNUMBER o_colon_minutes */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:715:15: | 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:738:36: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 738 | { pc->local_isdst = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 29:' branch... |...... | 1914 | case 29: /* local_zone: tLOCAL_ZONE */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:738:36: | 738 | { pc->local_isdst = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:738:36: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 29:' branch... |...... | 1914 | case 29: /* local_zone: tLOCAL_ZONE */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:738:36: | 738 | { pc->local_isdst = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:750:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 750 | { pc->time_zone = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 31:' branch... |...... | 1929 | case 31: /* zone: tZONE */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:750:34: | 750 | { pc->time_zone = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:750:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 31:' branch... |...... | 1929 | case 31: /* zone: tZONE */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:750:34: | 750 | { pc->time_zone = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:754:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 754 | { pc->time_zone = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:754:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:754:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:754:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:754:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:754:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:760:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 34:' branch... |...... | 1950 | case 34: /* zone: 'T' relunit_snumber */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:760:15: | 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:760:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 34:' branch... |...... | 1950 | case 34: /* zone: 'T' relunit_snumber */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:760:15: | 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:764:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 35:' branch... |...... | 1959 | case 35: /* zone: tZONE tSNUMBER o_colon_minutes */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:764:15: | 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:764:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 35:' branch... |...... | 1959 | case 35: /* zone: tZONE tSNUMBER o_colon_minutes */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:764:15: | 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:767:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 767 | { pc->time_zone = $1 + 60 * 60; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 36:' branch... |...... | 1966 | case 36: /* zone: tDAYZONE */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:767:34: | 767 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:767:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 36:' branch... |...... | 1966 | case 36: /* zone: tDAYZONE */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:767:34: | 767 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:769:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 769 | { pc->time_zone = $1 + 60 * 60; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:769:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:769:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:769:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:769:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:769:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:776:35: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 776 | pc->day_number = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 38:' branch... |...... | 1978 | case 38: /* day: tDAY */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:776:35: | 776 | pc->day_number = $1; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:776:35: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 38:' branch... |...... | 1978 | case 38: /* day: tDAY */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:776:35: | 776 | pc->day_number = $1; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:781:36: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 781 | pc->day_number = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:781:36: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:781:36: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:781:36: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:781:36: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:781:36: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:785:37: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 785 | pc->day_ordinal = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:785:37: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:785:37: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:785:37: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:785:37: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:785:37: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:791:49: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 791 | pc->day_ordinal = $1.value; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:791:49: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:791:49: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:791:49: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:791:49: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:791:49: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:800:43: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 800 | pc->month = $1.value; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:800:43: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:800:43: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:800:43: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:800:43: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:800:43: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:810:40: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 810 | if (4 <= $1.digits) | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (20) out-of-bounds read from byte -196 till byte -193 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:810:40: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:810:40: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' here | gl/parse-datetime.y:810:40: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (50) out-of-bounds read from byte -196 till byte -193 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:810:40: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:810:40: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' here | gl/parse-datetime.y:839:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 839 | pc->day = $1.value; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:839:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:839:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:839:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:839:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:839:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:847:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 847 | pc->month = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (20) out-of-bounds read from byte -104 till byte -97 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:847:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:847:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' here | gl/parse-datetime.y:847:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (50) out-of-bounds read from byte -104 till byte -97 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:847:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:847:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' here | gl/parse-datetime.y:854:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 854 | pc->month = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:854:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:854:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:854:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:854:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:854:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:859:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 859 | pc->month = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (20) out-of-bounds read from byte -156 till byte -149 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:859:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:859:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' here | gl/parse-datetime.y:859:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (50) out-of-bounds read from byte -156 till byte -149 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:859:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:859:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' here | gl/parse-datetime.y:865:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 865 | pc->day = $1.value; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:865:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:865:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:865:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:865:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:865:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:870:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 870 | pc->day = $1.value; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:870:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:870:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:870:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:870:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:870:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:881:18: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 881 | pc->year = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (20) out-of-bounds read from byte -104 till byte -89 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:881:18: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:881:18: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' here | gl/parse-datetime.y:881:18: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (50) out-of-bounds read from byte -104 till byte -89 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:881:18: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:881:18: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' here | gl/parse-datetime.y:889:66: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 52:' branch... |...... | 2135 | case 52: /* rel: relunit tAGO */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:889:66: | 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:889:66: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 52:' branch... |...... | 2135 | case 52: /* rel: relunit tAGO */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:889:66: | 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:891:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 53:' branch... |...... | 2141 | case 53: /* rel: relunit */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:891:15: | 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:891:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 53:' branch... |...... | 2141 | case 53: /* rel: relunit */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:891:15: | 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:893:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 54:' branch... |...... | 2147 | case 54: /* rel: dayshift */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:893:15: | 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:893:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 54:' branch... |...... | 2147 | case 54: /* rel: dayshift */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:893:15: | 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:898:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:898:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:898:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:898:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:898:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:898:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:900:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:900:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:900:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:900:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:900:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:900:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:904:70: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:904:70: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:904:70: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:904:70: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:904:70: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:904:70: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:906:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:906:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:906:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:906:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:906:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:906:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:911:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:911:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:911:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:911:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:911:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:911:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:914:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:914:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:914:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:914:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:914:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:914:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:916:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 63:' branch... |...... | 2203 | case 63: /* relunit: tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:916:67: | 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:916:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 63:' branch... |...... | 2203 | case 63: /* relunit: tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:916:67: | 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:918:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:918:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:918:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:918:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:918:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:918:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:920:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:920:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:920:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:920:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:920:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:920:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:924:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:924:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:924:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:924:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:924:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:924:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:926:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:926:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:926:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:926:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:926:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:926:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:930:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:930:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:930:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:930:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:930:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:930:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:932:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:932:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:932:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:932:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:932:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:932:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:934:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:934:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:934:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:934:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:934:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:934:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:936:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:936:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:936:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:936:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:936:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:936:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:944:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:944:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:944:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:944:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:944:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:944:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:946:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:946:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:946:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:946:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:946:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:946:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:949:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:949:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:949:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:949:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:949:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:949:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:951:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:951:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:951:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:951:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:951:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:951:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:953:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:953:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:953:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:953:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:953:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:953:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:955:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:955:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:955:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:955:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:955:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:955:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:960:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 82:' branch... |...... | 2312 | case 82: /* dayshift: tDAY_SHIFT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:960:67: | 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:960:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 82:' branch... |...... | 2312 | case 82: /* dayshift: tDAY_SHIFT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:960:67: | 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:968:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 968 | { if (time_overflow ($1.value)) YYABORT; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 86:' branch... |...... | 2318 | case 86: /* signed_seconds: tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:968:13: | 968 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:968:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 86:' branch... |...... | 2318 | case 86: /* signed_seconds: tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:968:13: | 968 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:975:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 975 | { if (time_overflow ($1.value)) YYABORT; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 88:' branch... |...... | 2325 | case 88: /* unsigned_seconds: tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:975:13: | 975 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:975:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 88:' branch... |...... | 2325 | case 88: /* unsigned_seconds: tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:975:13: | 975 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:981:9: warning: use of uninitialized value 'yyvsp_231->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 981 | { digits_to_date_time (pc, $1); } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 89:' branch... |...... | 2332 | case 89: /* number: tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:981:9: | 981 | { digits_to_date_time (pc, $1); } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval' here | gl/parse-datetime.y:981:9: warning: use of uninitialized value 'yyvsp_231->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 89:' branch... |...... | 2332 | case 89: /* number: tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:981:9: | 981 | { digits_to_date_time (pc, $1); } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval' here | gl/parse-datetime.y:989:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 989 | digits_to_date_time (pc, $1); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -37 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:989:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:989:9: warning: use of uninitialized value '_189->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (21) use of uninitialized value '_189->textintval' here | gl/parse-datetime.y:989:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -37 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:989:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:989:9: warning: use of uninitialized value '_189->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (51) use of uninitialized value '_189->textintval' here | gl/parse-datetime.y:998:47: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 998 | { $$ = $2.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 92:' branch... |...... | 2355 | case 92: /* o_colon_minutes: ':' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:998:47: | 998 | { $$ = $2.value; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:998:47: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 92:' branch... |...... | 2355 | case 92: /* o_colon_minutes: ':' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:998:47: | 998 | { $$ = $2.value; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval.value' here | i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o certtool.o certtool.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o certtool-common.o certtool-common.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o certtool-extras.o certtool-extras.c /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o certtool-options.lo certtool-options.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c certtool-options.c -fPIC -DPIC -o .libs/certtool-options.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o certtool-cfg.lo certtool-cfg.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c certtool-cfg.c -fPIC -DPIC -o .libs/certtool-cfg.o /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cfg.lo cfg.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c cfg.c -fPIC -DPIC -o .libs/cfg.o /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libcerttool-cfg.la certtool-cfg.lo cfg.lo ../gl/libgnu.la gl/libgnu_gpl.la libtool: link: (cd .libs/libcerttool-cfg.lax/libgnu.a && ar x "/usr/src/RPM/BUILD/gnutls-3.8.1/src/../gl/.libs/libgnu.a") libtool: link: (cd .libs/libcerttool-cfg.lax/libgnu_gpl.a && ar x "/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl/.libs/libgnu_gpl.a") copying selected object files to avoid basename conflicts... libtool: link: ln .libs/libcerttool-cfg.lax/libgnu_gpl.a/asnprintf.o .libs/libcerttool-cfg.lax/lt1-asnprintf.o || cp .libs/libcerttool-cfg.lax/libgnu_gpl.a/asnprintf.o .libs/libcerttool-cfg.lax/lt1-asnprintf.o libtool: link: ln .libs/libcerttool-cfg.lax/libgnu_gpl.a/printf-args.o .libs/libcerttool-cfg.lax/lt2-printf-args.o || cp .libs/libcerttool-cfg.lax/libgnu_gpl.a/printf-args.o .libs/libcerttool-cfg.lax/lt2-printf-args.o libtool: link: ln .libs/libcerttool-cfg.lax/libgnu_gpl.a/printf-parse.o .libs/libcerttool-cfg.lax/lt3-printf-parse.o || cp .libs/libcerttool-cfg.lax/libgnu_gpl.a/printf-parse.o .libs/libcerttool-cfg.lax/lt3-printf-parse.o libtool: link: ln .libs/libcerttool-cfg.lax/libgnu_gpl.a/vasnprintf.o .libs/libcerttool-cfg.lax/lt4-vasnprintf.o || cp .libs/libcerttool-cfg.lax/libgnu_gpl.a/vasnprintf.o .libs/libcerttool-cfg.lax/lt4-vasnprintf.o libtool: link: ar cr .libs/libcerttool-cfg.a .libs/certtool-cfg.o .libs/cfg.o .libs/libcerttool-cfg.lax/libgnu.a/asnprintf.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-basename-lgpl.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-bitrotate.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-c-ctype.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-c-strcasecmp.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-c-strncasecmp.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-cloexec.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-dirname-lgpl.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-fcntl.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-fd-hook.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-gl_linkedhash_list.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-gl_list.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-hash-pjw-bare.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-hash.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-lock.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-malloca.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-memset_explicit.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-read-file.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-scratch_buffer_grow.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-scratch_buffer_grow_preserve.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-scratch_buffer_set_array_size.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-stat-time.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-stripslash.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-sys_socket.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-threadlib.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-tls.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-unistd.o .libs/libcerttool-cfg.lax/libgnu.a/libgnu_la-xsize.o .libs/libcerttool-cfg.lax/libgnu.a/printf-args.o .libs/libcerttool-cfg.lax/libgnu.a/printf-parse.o .libs/libcerttool-cfg.lax/libgnu.a/vasnprintf.o .libs/libcerttool-cfg.lax/lt1-asnprintf.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-basename-lgpl.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-bitrotate.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-c-ctype.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-c-strcasecmp.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-c-strncasecmp.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-cloexec.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-close-stream.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-exitfail.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-fcntl.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-fd-hook.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-getprogname.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-gettime.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-gl_linked_list.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-gl_linkedhash_list.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-gl_list.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-gl_xlist.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-hash-pjw-bare.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-hash.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-ialloc.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-lock.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-malloca.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-memset_explicit.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-nstrftime.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-parse-datetime.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-progname.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-read-file.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_grow.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_grow_preserve.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_set_array_size.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-sockets.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-stat-time.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-sys_socket.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-threadlib.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-time_rz.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-timespec.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-tls.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-unistd.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-xalloc-die.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-xmalloc.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/libgnu_gpl_la-xsize.o .libs/libcerttool-cfg.lax/libgnu_gpl.a/mktime.o .libs/libcerttool-cfg.lax/lt2-printf-args.o .libs/libcerttool-cfg.lax/lt3-printf-parse.o .libs/libcerttool-cfg.lax/lt4-vasnprintf.o libtool: link: ranlib .libs/libcerttool-cfg.a libtool: link: rm -fr .libs/libcerttool-cfg.lax .libs/libcerttool-cfg.lax libtool: link: ( cd ".libs" && rm -f "libcerttool-cfg.la" && ln -s "../libcerttool-cfg.la" "libcerttool-cfg.la" ) /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libcmd-certtool.la certtool-options.lo libcerttool-cfg.la ../lib/libgnutls.la gl/libgnu_gpl.la ../gl/libgnu.la -ltasn1 gl/libgnu_gpl.la libtool: link: (cd .libs/libcmd-certtool.lax/libcerttool-cfg.a && ar x "/usr/src/RPM/BUILD/gnutls-3.8.1/src/./.libs/libcerttool-cfg.a") libtool: link: (cd .libs/libcmd-certtool.lax/libgnu_gpl.a && ar x "/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl/.libs/libgnu_gpl.a") libtool: link: (cd .libs/libcmd-certtool.lax/libgnu.a && ar x "/usr/src/RPM/BUILD/gnutls-3.8.1/src/../gl/.libs/libgnu.a") libtool: link: (cd .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a && ar x "/usr/src/RPM/BUILD/gnutls-3.8.1/src/gl/.libs/libgnu_gpl.a") copying selected object files to avoid basename conflicts... libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/asnprintf.o .libs/libcmd-certtool.lax/lt2-asnprintf.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/asnprintf.o .libs/libcmd-certtool.lax/lt2-asnprintf.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-basename-lgpl.o .libs/libcmd-certtool.lax/lt3-libgnu_gpl_la-basename-lgpl.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-basename-lgpl.o .libs/libcmd-certtool.lax/lt3-libgnu_gpl_la-basename-lgpl.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-bitrotate.o .libs/libcmd-certtool.lax/lt4-libgnu_gpl_la-bitrotate.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-bitrotate.o .libs/libcmd-certtool.lax/lt4-libgnu_gpl_la-bitrotate.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-c-ctype.o .libs/libcmd-certtool.lax/lt5-libgnu_gpl_la-c-ctype.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-c-ctype.o .libs/libcmd-certtool.lax/lt5-libgnu_gpl_la-c-ctype.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-c-strcasecmp.o .libs/libcmd-certtool.lax/lt6-libgnu_gpl_la-c-strcasecmp.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-c-strcasecmp.o .libs/libcmd-certtool.lax/lt6-libgnu_gpl_la-c-strcasecmp.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-c-strncasecmp.o .libs/libcmd-certtool.lax/lt7-libgnu_gpl_la-c-strncasecmp.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-c-strncasecmp.o .libs/libcmd-certtool.lax/lt7-libgnu_gpl_la-c-strncasecmp.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-cloexec.o .libs/libcmd-certtool.lax/lt8-libgnu_gpl_la-cloexec.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-cloexec.o .libs/libcmd-certtool.lax/lt8-libgnu_gpl_la-cloexec.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-close-stream.o .libs/libcmd-certtool.lax/lt9-libgnu_gpl_la-close-stream.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-close-stream.o .libs/libcmd-certtool.lax/lt9-libgnu_gpl_la-close-stream.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-exitfail.o .libs/libcmd-certtool.lax/lt10-libgnu_gpl_la-exitfail.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-exitfail.o .libs/libcmd-certtool.lax/lt10-libgnu_gpl_la-exitfail.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-fcntl.o .libs/libcmd-certtool.lax/lt11-libgnu_gpl_la-fcntl.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-fcntl.o .libs/libcmd-certtool.lax/lt11-libgnu_gpl_la-fcntl.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-fd-hook.o .libs/libcmd-certtool.lax/lt12-libgnu_gpl_la-fd-hook.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-fd-hook.o .libs/libcmd-certtool.lax/lt12-libgnu_gpl_la-fd-hook.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-getprogname.o .libs/libcmd-certtool.lax/lt13-libgnu_gpl_la-getprogname.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-getprogname.o .libs/libcmd-certtool.lax/lt13-libgnu_gpl_la-getprogname.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-gettime.o .libs/libcmd-certtool.lax/lt14-libgnu_gpl_la-gettime.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-gettime.o .libs/libcmd-certtool.lax/lt14-libgnu_gpl_la-gettime.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-gl_linked_list.o .libs/libcmd-certtool.lax/lt15-libgnu_gpl_la-gl_linked_list.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-gl_linked_list.o .libs/libcmd-certtool.lax/lt15-libgnu_gpl_la-gl_linked_list.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-gl_linkedhash_list.o .libs/libcmd-certtool.lax/lt16-libgnu_gpl_la-gl_linkedhash_list.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-gl_linkedhash_list.o .libs/libcmd-certtool.lax/lt16-libgnu_gpl_la-gl_linkedhash_list.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-gl_list.o .libs/libcmd-certtool.lax/lt17-libgnu_gpl_la-gl_list.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-gl_list.o .libs/libcmd-certtool.lax/lt17-libgnu_gpl_la-gl_list.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-gl_xlist.o .libs/libcmd-certtool.lax/lt18-libgnu_gpl_la-gl_xlist.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-gl_xlist.o .libs/libcmd-certtool.lax/lt18-libgnu_gpl_la-gl_xlist.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-hash-pjw-bare.o .libs/libcmd-certtool.lax/lt19-libgnu_gpl_la-hash-pjw-bare.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-hash-pjw-bare.o .libs/libcmd-certtool.lax/lt19-libgnu_gpl_la-hash-pjw-bare.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-hash.o .libs/libcmd-certtool.lax/lt20-libgnu_gpl_la-hash.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-hash.o .libs/libcmd-certtool.lax/lt20-libgnu_gpl_la-hash.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-ialloc.o .libs/libcmd-certtool.lax/lt21-libgnu_gpl_la-ialloc.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-ialloc.o .libs/libcmd-certtool.lax/lt21-libgnu_gpl_la-ialloc.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-lock.o .libs/libcmd-certtool.lax/lt22-libgnu_gpl_la-lock.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-lock.o .libs/libcmd-certtool.lax/lt22-libgnu_gpl_la-lock.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-malloca.o .libs/libcmd-certtool.lax/lt23-libgnu_gpl_la-malloca.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-malloca.o .libs/libcmd-certtool.lax/lt23-libgnu_gpl_la-malloca.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-memset_explicit.o .libs/libcmd-certtool.lax/lt24-libgnu_gpl_la-memset_explicit.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-memset_explicit.o .libs/libcmd-certtool.lax/lt24-libgnu_gpl_la-memset_explicit.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-nstrftime.o .libs/libcmd-certtool.lax/lt25-libgnu_gpl_la-nstrftime.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-nstrftime.o .libs/libcmd-certtool.lax/lt25-libgnu_gpl_la-nstrftime.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-parse-datetime.o .libs/libcmd-certtool.lax/lt26-libgnu_gpl_la-parse-datetime.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-parse-datetime.o .libs/libcmd-certtool.lax/lt26-libgnu_gpl_la-parse-datetime.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-progname.o .libs/libcmd-certtool.lax/lt27-libgnu_gpl_la-progname.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-progname.o .libs/libcmd-certtool.lax/lt27-libgnu_gpl_la-progname.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-read-file.o .libs/libcmd-certtool.lax/lt28-libgnu_gpl_la-read-file.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-read-file.o .libs/libcmd-certtool.lax/lt28-libgnu_gpl_la-read-file.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_grow.o .libs/libcmd-certtool.lax/lt29-libgnu_gpl_la-scratch_buffer_grow.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_grow.o .libs/libcmd-certtool.lax/lt29-libgnu_gpl_la-scratch_buffer_grow.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_grow_preserve.o .libs/libcmd-certtool.lax/lt30-libgnu_gpl_la-scratch_buffer_grow_preserve.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_grow_preserve.o .libs/libcmd-certtool.lax/lt30-libgnu_gpl_la-scratch_buffer_grow_preserve.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_set_array_size.o .libs/libcmd-certtool.lax/lt31-libgnu_gpl_la-scratch_buffer_set_array_size.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_set_array_size.o .libs/libcmd-certtool.lax/lt31-libgnu_gpl_la-scratch_buffer_set_array_size.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-sockets.o .libs/libcmd-certtool.lax/lt32-libgnu_gpl_la-sockets.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-sockets.o .libs/libcmd-certtool.lax/lt32-libgnu_gpl_la-sockets.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-stat-time.o .libs/libcmd-certtool.lax/lt33-libgnu_gpl_la-stat-time.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-stat-time.o .libs/libcmd-certtool.lax/lt33-libgnu_gpl_la-stat-time.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-sys_socket.o .libs/libcmd-certtool.lax/lt34-libgnu_gpl_la-sys_socket.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-sys_socket.o .libs/libcmd-certtool.lax/lt34-libgnu_gpl_la-sys_socket.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-threadlib.o .libs/libcmd-certtool.lax/lt35-libgnu_gpl_la-threadlib.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-threadlib.o .libs/libcmd-certtool.lax/lt35-libgnu_gpl_la-threadlib.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-time_rz.o .libs/libcmd-certtool.lax/lt36-libgnu_gpl_la-time_rz.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-time_rz.o .libs/libcmd-certtool.lax/lt36-libgnu_gpl_la-time_rz.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-timespec.o .libs/libcmd-certtool.lax/lt37-libgnu_gpl_la-timespec.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-timespec.o .libs/libcmd-certtool.lax/lt37-libgnu_gpl_la-timespec.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-tls.o .libs/libcmd-certtool.lax/lt38-libgnu_gpl_la-tls.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-tls.o .libs/libcmd-certtool.lax/lt38-libgnu_gpl_la-tls.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-unistd.o .libs/libcmd-certtool.lax/lt39-libgnu_gpl_la-unistd.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-unistd.o .libs/libcmd-certtool.lax/lt39-libgnu_gpl_la-unistd.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-xalloc-die.o .libs/libcmd-certtool.lax/lt40-libgnu_gpl_la-xalloc-die.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-xalloc-die.o .libs/libcmd-certtool.lax/lt40-libgnu_gpl_la-xalloc-die.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-xmalloc.o .libs/libcmd-certtool.lax/lt41-libgnu_gpl_la-xmalloc.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-xmalloc.o .libs/libcmd-certtool.lax/lt41-libgnu_gpl_la-xmalloc.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-xsize.o .libs/libcmd-certtool.lax/lt42-libgnu_gpl_la-xsize.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/libgnu_gpl_la-xsize.o .libs/libcmd-certtool.lax/lt42-libgnu_gpl_la-xsize.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/mktime.o .libs/libcmd-certtool.lax/lt43-mktime.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/mktime.o .libs/libcmd-certtool.lax/lt43-mktime.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/printf-args.o .libs/libcmd-certtool.lax/lt44-printf-args.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/printf-args.o .libs/libcmd-certtool.lax/lt44-printf-args.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/printf-parse.o .libs/libcmd-certtool.lax/lt45-printf-parse.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/printf-parse.o .libs/libcmd-certtool.lax/lt45-printf-parse.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu_gpl.a/vasnprintf.o .libs/libcmd-certtool.lax/lt46-vasnprintf.o || cp .libs/libcmd-certtool.lax/libgnu_gpl.a/vasnprintf.o .libs/libcmd-certtool.lax/lt46-vasnprintf.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/asnprintf.o .libs/libcmd-certtool.lax/lt47-asnprintf.o || cp .libs/libcmd-certtool.lax/libgnu.a/asnprintf.o .libs/libcmd-certtool.lax/lt47-asnprintf.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-basename-lgpl.o .libs/libcmd-certtool.lax/lt48-libgnu_la-basename-lgpl.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-basename-lgpl.o .libs/libcmd-certtool.lax/lt48-libgnu_la-basename-lgpl.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-bitrotate.o .libs/libcmd-certtool.lax/lt49-libgnu_la-bitrotate.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-bitrotate.o .libs/libcmd-certtool.lax/lt49-libgnu_la-bitrotate.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-c-ctype.o .libs/libcmd-certtool.lax/lt50-libgnu_la-c-ctype.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-c-ctype.o .libs/libcmd-certtool.lax/lt50-libgnu_la-c-ctype.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-c-strcasecmp.o .libs/libcmd-certtool.lax/lt51-libgnu_la-c-strcasecmp.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-c-strcasecmp.o .libs/libcmd-certtool.lax/lt51-libgnu_la-c-strcasecmp.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-c-strncasecmp.o .libs/libcmd-certtool.lax/lt52-libgnu_la-c-strncasecmp.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-c-strncasecmp.o .libs/libcmd-certtool.lax/lt52-libgnu_la-c-strncasecmp.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-cloexec.o .libs/libcmd-certtool.lax/lt53-libgnu_la-cloexec.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-cloexec.o .libs/libcmd-certtool.lax/lt53-libgnu_la-cloexec.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-dirname-lgpl.o .libs/libcmd-certtool.lax/lt54-libgnu_la-dirname-lgpl.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-dirname-lgpl.o .libs/libcmd-certtool.lax/lt54-libgnu_la-dirname-lgpl.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-fcntl.o .libs/libcmd-certtool.lax/lt55-libgnu_la-fcntl.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-fcntl.o .libs/libcmd-certtool.lax/lt55-libgnu_la-fcntl.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-fd-hook.o .libs/libcmd-certtool.lax/lt56-libgnu_la-fd-hook.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-fd-hook.o .libs/libcmd-certtool.lax/lt56-libgnu_la-fd-hook.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-gl_linkedhash_list.o .libs/libcmd-certtool.lax/lt57-libgnu_la-gl_linkedhash_list.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-gl_linkedhash_list.o .libs/libcmd-certtool.lax/lt57-libgnu_la-gl_linkedhash_list.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-gl_list.o .libs/libcmd-certtool.lax/lt58-libgnu_la-gl_list.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-gl_list.o .libs/libcmd-certtool.lax/lt58-libgnu_la-gl_list.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-hash-pjw-bare.o .libs/libcmd-certtool.lax/lt59-libgnu_la-hash-pjw-bare.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-hash-pjw-bare.o .libs/libcmd-certtool.lax/lt59-libgnu_la-hash-pjw-bare.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-hash.o .libs/libcmd-certtool.lax/lt60-libgnu_la-hash.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-hash.o .libs/libcmd-certtool.lax/lt60-libgnu_la-hash.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-lock.o .libs/libcmd-certtool.lax/lt61-libgnu_la-lock.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-lock.o .libs/libcmd-certtool.lax/lt61-libgnu_la-lock.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-malloca.o .libs/libcmd-certtool.lax/lt62-libgnu_la-malloca.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-malloca.o .libs/libcmd-certtool.lax/lt62-libgnu_la-malloca.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-memset_explicit.o .libs/libcmd-certtool.lax/lt63-libgnu_la-memset_explicit.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-memset_explicit.o .libs/libcmd-certtool.lax/lt63-libgnu_la-memset_explicit.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-read-file.o .libs/libcmd-certtool.lax/lt64-libgnu_la-read-file.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-read-file.o .libs/libcmd-certtool.lax/lt64-libgnu_la-read-file.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-scratch_buffer_grow.o .libs/libcmd-certtool.lax/lt65-libgnu_la-scratch_buffer_grow.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-scratch_buffer_grow.o .libs/libcmd-certtool.lax/lt65-libgnu_la-scratch_buffer_grow.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-scratch_buffer_grow_preserve.o .libs/libcmd-certtool.lax/lt66-libgnu_la-scratch_buffer_grow_preserve.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-scratch_buffer_grow_preserve.o .libs/libcmd-certtool.lax/lt66-libgnu_la-scratch_buffer_grow_preserve.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-scratch_buffer_set_array_size.o .libs/libcmd-certtool.lax/lt67-libgnu_la-scratch_buffer_set_array_size.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-scratch_buffer_set_array_size.o .libs/libcmd-certtool.lax/lt67-libgnu_la-scratch_buffer_set_array_size.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-stat-time.o .libs/libcmd-certtool.lax/lt68-libgnu_la-stat-time.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-stat-time.o .libs/libcmd-certtool.lax/lt68-libgnu_la-stat-time.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-stripslash.o .libs/libcmd-certtool.lax/lt69-libgnu_la-stripslash.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-stripslash.o .libs/libcmd-certtool.lax/lt69-libgnu_la-stripslash.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-sys_socket.o .libs/libcmd-certtool.lax/lt70-libgnu_la-sys_socket.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-sys_socket.o .libs/libcmd-certtool.lax/lt70-libgnu_la-sys_socket.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-threadlib.o .libs/libcmd-certtool.lax/lt71-libgnu_la-threadlib.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-threadlib.o .libs/libcmd-certtool.lax/lt71-libgnu_la-threadlib.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-tls.o .libs/libcmd-certtool.lax/lt72-libgnu_la-tls.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-tls.o .libs/libcmd-certtool.lax/lt72-libgnu_la-tls.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-unistd.o .libs/libcmd-certtool.lax/lt73-libgnu_la-unistd.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-unistd.o .libs/libcmd-certtool.lax/lt73-libgnu_la-unistd.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-xsize.o .libs/libcmd-certtool.lax/lt74-libgnu_la-xsize.o || cp .libs/libcmd-certtool.lax/libgnu.a/libgnu_la-xsize.o .libs/libcmd-certtool.lax/lt74-libgnu_la-xsize.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/printf-args.o .libs/libcmd-certtool.lax/lt75-printf-args.o || cp .libs/libcmd-certtool.lax/libgnu.a/printf-args.o .libs/libcmd-certtool.lax/lt75-printf-args.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/printf-parse.o .libs/libcmd-certtool.lax/lt76-printf-parse.o || cp .libs/libcmd-certtool.lax/libgnu.a/printf-parse.o .libs/libcmd-certtool.lax/lt76-printf-parse.o libtool: link: ln .libs/libcmd-certtool.lax/libgnu.a/vasnprintf.o .libs/libcmd-certtool.lax/lt77-vasnprintf.o || cp .libs/libcmd-certtool.lax/libgnu.a/vasnprintf.o .libs/libcmd-certtool.lax/lt77-vasnprintf.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/asnprintf.o .libs/libcmd-certtool.lax/lt78-asnprintf.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/asnprintf.o .libs/libcmd-certtool.lax/lt78-asnprintf.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-basename-lgpl.o .libs/libcmd-certtool.lax/lt79-libgnu_gpl_la-basename-lgpl.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-basename-lgpl.o .libs/libcmd-certtool.lax/lt79-libgnu_gpl_la-basename-lgpl.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-bitrotate.o .libs/libcmd-certtool.lax/lt80-libgnu_gpl_la-bitrotate.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-bitrotate.o .libs/libcmd-certtool.lax/lt80-libgnu_gpl_la-bitrotate.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-c-ctype.o .libs/libcmd-certtool.lax/lt81-libgnu_gpl_la-c-ctype.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-c-ctype.o .libs/libcmd-certtool.lax/lt81-libgnu_gpl_la-c-ctype.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-c-strcasecmp.o .libs/libcmd-certtool.lax/lt82-libgnu_gpl_la-c-strcasecmp.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-c-strcasecmp.o .libs/libcmd-certtool.lax/lt82-libgnu_gpl_la-c-strcasecmp.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-c-strncasecmp.o .libs/libcmd-certtool.lax/lt83-libgnu_gpl_la-c-strncasecmp.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-c-strncasecmp.o .libs/libcmd-certtool.lax/lt83-libgnu_gpl_la-c-strncasecmp.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-cloexec.o .libs/libcmd-certtool.lax/lt84-libgnu_gpl_la-cloexec.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-cloexec.o .libs/libcmd-certtool.lax/lt84-libgnu_gpl_la-cloexec.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-close-stream.o .libs/libcmd-certtool.lax/lt85-libgnu_gpl_la-close-stream.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-close-stream.o .libs/libcmd-certtool.lax/lt85-libgnu_gpl_la-close-stream.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-exitfail.o .libs/libcmd-certtool.lax/lt86-libgnu_gpl_la-exitfail.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-exitfail.o .libs/libcmd-certtool.lax/lt86-libgnu_gpl_la-exitfail.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-fcntl.o .libs/libcmd-certtool.lax/lt87-libgnu_gpl_la-fcntl.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-fcntl.o .libs/libcmd-certtool.lax/lt87-libgnu_gpl_la-fcntl.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-fd-hook.o .libs/libcmd-certtool.lax/lt88-libgnu_gpl_la-fd-hook.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-fd-hook.o .libs/libcmd-certtool.lax/lt88-libgnu_gpl_la-fd-hook.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-getprogname.o .libs/libcmd-certtool.lax/lt89-libgnu_gpl_la-getprogname.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-getprogname.o .libs/libcmd-certtool.lax/lt89-libgnu_gpl_la-getprogname.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-gettime.o .libs/libcmd-certtool.lax/lt90-libgnu_gpl_la-gettime.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-gettime.o .libs/libcmd-certtool.lax/lt90-libgnu_gpl_la-gettime.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-gl_linked_list.o .libs/libcmd-certtool.lax/lt91-libgnu_gpl_la-gl_linked_list.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-gl_linked_list.o .libs/libcmd-certtool.lax/lt91-libgnu_gpl_la-gl_linked_list.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-gl_linkedhash_list.o .libs/libcmd-certtool.lax/lt92-libgnu_gpl_la-gl_linkedhash_list.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-gl_linkedhash_list.o .libs/libcmd-certtool.lax/lt92-libgnu_gpl_la-gl_linkedhash_list.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-gl_list.o .libs/libcmd-certtool.lax/lt93-libgnu_gpl_la-gl_list.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-gl_list.o .libs/libcmd-certtool.lax/lt93-libgnu_gpl_la-gl_list.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-gl_xlist.o .libs/libcmd-certtool.lax/lt94-libgnu_gpl_la-gl_xlist.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-gl_xlist.o .libs/libcmd-certtool.lax/lt94-libgnu_gpl_la-gl_xlist.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-hash-pjw-bare.o .libs/libcmd-certtool.lax/lt95-libgnu_gpl_la-hash-pjw-bare.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-hash-pjw-bare.o .libs/libcmd-certtool.lax/lt95-libgnu_gpl_la-hash-pjw-bare.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-hash.o .libs/libcmd-certtool.lax/lt96-libgnu_gpl_la-hash.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-hash.o .libs/libcmd-certtool.lax/lt96-libgnu_gpl_la-hash.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-ialloc.o .libs/libcmd-certtool.lax/lt97-libgnu_gpl_la-ialloc.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-ialloc.o .libs/libcmd-certtool.lax/lt97-libgnu_gpl_la-ialloc.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-lock.o .libs/libcmd-certtool.lax/lt98-libgnu_gpl_la-lock.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-lock.o .libs/libcmd-certtool.lax/lt98-libgnu_gpl_la-lock.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-malloca.o .libs/libcmd-certtool.lax/lt99-libgnu_gpl_la-malloca.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-malloca.o .libs/libcmd-certtool.lax/lt99-libgnu_gpl_la-malloca.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-memset_explicit.o .libs/libcmd-certtool.lax/lt100-libgnu_gpl_la-memset_explicit.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-memset_explicit.o .libs/libcmd-certtool.lax/lt100-libgnu_gpl_la-memset_explicit.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-nstrftime.o .libs/libcmd-certtool.lax/lt101-libgnu_gpl_la-nstrftime.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-nstrftime.o .libs/libcmd-certtool.lax/lt101-libgnu_gpl_la-nstrftime.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-parse-datetime.o .libs/libcmd-certtool.lax/lt102-libgnu_gpl_la-parse-datetime.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-parse-datetime.o .libs/libcmd-certtool.lax/lt102-libgnu_gpl_la-parse-datetime.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-progname.o .libs/libcmd-certtool.lax/lt103-libgnu_gpl_la-progname.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-progname.o .libs/libcmd-certtool.lax/lt103-libgnu_gpl_la-progname.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-read-file.o .libs/libcmd-certtool.lax/lt104-libgnu_gpl_la-read-file.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-read-file.o .libs/libcmd-certtool.lax/lt104-libgnu_gpl_la-read-file.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_grow.o .libs/libcmd-certtool.lax/lt105-libgnu_gpl_la-scratch_buffer_grow.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_grow.o .libs/libcmd-certtool.lax/lt105-libgnu_gpl_la-scratch_buffer_grow.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_grow_preserve.o .libs/libcmd-certtool.lax/lt106-libgnu_gpl_la-scratch_buffer_grow_preserve.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_grow_preserve.o .libs/libcmd-certtool.lax/lt106-libgnu_gpl_la-scratch_buffer_grow_preserve.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_set_array_size.o .libs/libcmd-certtool.lax/lt107-libgnu_gpl_la-scratch_buffer_set_array_size.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-scratch_buffer_set_array_size.o .libs/libcmd-certtool.lax/lt107-libgnu_gpl_la-scratch_buffer_set_array_size.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-sockets.o .libs/libcmd-certtool.lax/lt108-libgnu_gpl_la-sockets.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-sockets.o .libs/libcmd-certtool.lax/lt108-libgnu_gpl_la-sockets.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-stat-time.o .libs/libcmd-certtool.lax/lt109-libgnu_gpl_la-stat-time.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-stat-time.o .libs/libcmd-certtool.lax/lt109-libgnu_gpl_la-stat-time.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-sys_socket.o .libs/libcmd-certtool.lax/lt110-libgnu_gpl_la-sys_socket.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-sys_socket.o .libs/libcmd-certtool.lax/lt110-libgnu_gpl_la-sys_socket.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-threadlib.o .libs/libcmd-certtool.lax/lt111-libgnu_gpl_la-threadlib.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-threadlib.o .libs/libcmd-certtool.lax/lt111-libgnu_gpl_la-threadlib.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-time_rz.o .libs/libcmd-certtool.lax/lt112-libgnu_gpl_la-time_rz.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-time_rz.o .libs/libcmd-certtool.lax/lt112-libgnu_gpl_la-time_rz.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-timespec.o .libs/libcmd-certtool.lax/lt113-libgnu_gpl_la-timespec.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-timespec.o .libs/libcmd-certtool.lax/lt113-libgnu_gpl_la-timespec.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-tls.o .libs/libcmd-certtool.lax/lt114-libgnu_gpl_la-tls.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-tls.o .libs/libcmd-certtool.lax/lt114-libgnu_gpl_la-tls.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-unistd.o .libs/libcmd-certtool.lax/lt115-libgnu_gpl_la-unistd.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-unistd.o .libs/libcmd-certtool.lax/lt115-libgnu_gpl_la-unistd.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-xalloc-die.o .libs/libcmd-certtool.lax/lt116-libgnu_gpl_la-xalloc-die.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-xalloc-die.o .libs/libcmd-certtool.lax/lt116-libgnu_gpl_la-xalloc-die.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-xmalloc.o .libs/libcmd-certtool.lax/lt117-libgnu_gpl_la-xmalloc.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-xmalloc.o .libs/libcmd-certtool.lax/lt117-libgnu_gpl_la-xmalloc.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-xsize.o .libs/libcmd-certtool.lax/lt118-libgnu_gpl_la-xsize.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/libgnu_gpl_la-xsize.o .libs/libcmd-certtool.lax/lt118-libgnu_gpl_la-xsize.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/mktime.o .libs/libcmd-certtool.lax/lt119-mktime.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/mktime.o .libs/libcmd-certtool.lax/lt119-mktime.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/printf-args.o .libs/libcmd-certtool.lax/lt120-printf-args.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/printf-args.o .libs/libcmd-certtool.lax/lt120-printf-args.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/printf-parse.o .libs/libcmd-certtool.lax/lt121-printf-parse.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/printf-parse.o .libs/libcmd-certtool.lax/lt121-printf-parse.o libtool: link: ln .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/vasnprintf.o .libs/libcmd-certtool.lax/lt122-vasnprintf.o || cp .libs/libcmd-certtool.lax/lt1-libgnu_gpl.a/vasnprintf.o .libs/libcmd-certtool.lax/lt122-vasnprintf.o libtool: link: ar cr .libs/libcmd-certtool.a .libs/certtool-options.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/asnprintf.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/certtool-cfg.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/cfg.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-basename-lgpl.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-bitrotate.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-c-ctype.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-c-strcasecmp.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-c-strncasecmp.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-cloexec.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-close-stream.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-exitfail.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-fcntl.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-fd-hook.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-getprogname.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-gettime.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-gl_linked_list.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-gl_linkedhash_list.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-gl_list.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-gl_xlist.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-hash-pjw-bare.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-hash.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-ialloc.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-lock.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-malloca.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-memset_explicit.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-nstrftime.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-parse-datetime.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-progname.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-read-file.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-scratch_buffer_grow.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-scratch_buffer_grow_preserve.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-scratch_buffer_set_array_size.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-sockets.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-stat-time.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-sys_socket.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-threadlib.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-time_rz.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-timespec.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-tls.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-unistd.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-xalloc-die.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-xmalloc.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_gpl_la-xsize.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-basename-lgpl.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-bitrotate.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-c-ctype.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-c-strcasecmp.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-c-strncasecmp.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-cloexec.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-dirname-lgpl.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-fcntl.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-fd-hook.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-gl_linkedhash_list.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-gl_list.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-hash-pjw-bare.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-hash.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-lock.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-malloca.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-memset_explicit.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-read-file.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-scratch_buffer_grow.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-scratch_buffer_grow_preserve.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-scratch_buffer_set_array_size.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-stat-time.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-stripslash.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-sys_socket.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-threadlib.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-tls.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-unistd.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/libgnu_la-xsize.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/lt1-asnprintf.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/lt2-printf-args.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/lt3-printf-parse.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/lt4-vasnprintf.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/mktime.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/printf-args.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/printf-parse.o .libs/libcmd-certtool.lax/libcerttool-cfg.a/vasnprintf.o .libs/libcmd-certtool.lax/lt2-asnprintf.o .libs/libcmd-certtool.lax/lt3-libgnu_gpl_la-basename-lgpl.o .libs/libcmd-certtool.lax/lt4-libgnu_gpl_la-bitrotate.o .libs/libcmd-certtool.lax/lt5-libgnu_gpl_la-c-ctype.o .libs/libcmd-certtool.lax/lt6-libgnu_gpl_la-c-strcasecmp.o .libs/libcmd-certtool.lax/lt7-libgnu_gpl_la-c-strncasecmp.o .libs/libcmd-certtool.lax/lt8-libgnu_gpl_la-cloexec.o .libs/libcmd-certtool.lax/lt9-libgnu_gpl_la-close-stream.o .libs/libcmd-certtool.lax/lt10-libgnu_gpl_la-exitfail.o .libs/libcmd-certtool.lax/lt11-libgnu_gpl_la-fcntl.o .libs/libcmd-certtool.lax/lt12-libgnu_gpl_la-fd-hook.o .libs/libcmd-certtool.lax/lt13-libgnu_gpl_la-getprogname.o .libs/libcmd-certtool.lax/lt14-libgnu_gpl_la-gettime.o .libs/libcmd-certtool.lax/lt15-libgnu_gpl_la-gl_linked_list.o .libs/libcmd-certtool.lax/lt16-libgnu_gpl_la-gl_linkedhash_list.o .libs/libcmd-certtool.lax/lt17-libgnu_gpl_la-gl_list.o .libs/libcmd-certtool.lax/lt18-libgnu_gpl_la-gl_xlist.o .libs/libcmd-certtool.lax/lt19-libgnu_gpl_la-hash-pjw-bare.o .libs/libcmd-certtool.lax/lt20-libgnu_gpl_la-hash.o .libs/libcmd-certtool.lax/lt21-libgnu_gpl_la-ialloc.o .libs/libcmd-certtool.lax/lt22-libgnu_gpl_la-lock.o .libs/libcmd-certtool.lax/lt23-libgnu_gpl_la-malloca.o .libs/libcmd-certtool.lax/lt24-libgnu_gpl_la-memset_explicit.o .libs/libcmd-certtool.lax/lt25-libgnu_gpl_la-nstrftime.o .libs/libcmd-certtool.lax/lt26-libgnu_gpl_la-parse-datetime.o .libs/libcmd-certtool.lax/lt27-libgnu_gpl_la-progname.o .libs/libcmd-certtool.lax/lt28-libgnu_gpl_la-read-file.o .libs/libcmd-certtool.lax/lt29-libgnu_gpl_la-scratch_buffer_grow.o .libs/libcmd-certtool.lax/lt30-libgnu_gpl_la-scratch_buffer_grow_preserve.o .libs/libcmd-certtool.lax/lt31-libgnu_gpl_la-scratch_buffer_set_array_size.o .libs/libcmd-certtool.lax/lt32-libgnu_gpl_la-sockets.o .libs/libcmd-certtool.lax/lt33-libgnu_gpl_la-stat-time.o .libs/libcmd-certtool.lax/lt34-libgnu_gpl_la-sys_socket.o .libs/libcmd-certtool.lax/lt35-libgnu_gpl_la-threadlib.o .libs/libcmd-certtool.lax/lt36-libgnu_gpl_la-time_rz.o .libs/libcmd-certtool.lax/lt37-libgnu_gpl_la-timespec.o .libs/libcmd-certtool.lax/lt38-libgnu_gpl_la-tls.o .libs/libcmd-certtool.lax/lt39-libgnu_gpl_la-unistd.o .libs/libcmd-certtool.lax/lt40-libgnu_gpl_la-xalloc-die.o .libs/libcmd-certtool.lax/lt41-libgnu_gpl_la-xmalloc.o .libs/libcmd-certtool.lax/lt42-libgnu_gpl_la-xsize.o .libs/libcmd-certtool.lax/lt43-mktime.o .libs/libcmd-certtool.lax/lt44-printf-args.o .libs/libcmd-certtool.lax/lt45-printf-parse.o .libs/libcmd-certtool.lax/lt46-vasnprintf.o .libs/libcmd-certtool.lax/lt47-asnprintf.o .libs/libcmd-certtool.lax/lt48-libgnu_la-basename-lgpl.o .libs/libcmd-certtool.lax/lt49-libgnu_la-bitrotate.o .libs/libcmd-certtool.lax/lt50-libgnu_la-c-ctype.o .libs/libcmd-certtool.lax/lt51-libgnu_la-c-strcasecmp.o .libs/libcmd-certtool.lax/lt52-libgnu_la-c-strncasecmp.o .libs/libcmd-certtool.lax/lt53-libgnu_la-cloexec.o .libs/libcmd-certtool.lax/lt54-libgnu_la-dirname-lgpl.o .libs/libcmd-certtool.lax/lt55-libgnu_la-fcntl.o .libs/libcmd-certtool.lax/lt56-libgnu_la-fd-hook.o .libs/libcmd-certtool.lax/lt57-libgnu_la-gl_linkedhash_list.o .libs/libcmd-certtool.lax/lt58-libgnu_la-gl_list.o .libs/libcmd-certtool.lax/lt59-libgnu_la-hash-pjw-bare.o .libs/libcmd-certtool.lax/lt60-libgnu_la-hash.o .libs/libcmd-certtool.lax/lt61-libgnu_la-lock.o .libs/libcmd-certtool.lax/lt62-libgnu_la-malloca.o .libs/libcmd-certtool.lax/lt63-libgnu_la-memset_explicit.o .libs/libcmd-certtool.lax/lt64-libgnu_la-read-file.o .libs/libcmd-certtool.lax/lt65-libgnu_la-scratch_buffer_grow.o .libs/libcmd-certtool.lax/lt66-libgnu_la-scratch_buffer_grow_preserve.o .libs/libcmd-certtool.lax/lt67-libgnu_la-scratch_buffer_set_array_size.o .libs/libcmd-certtool.lax/lt68-libgnu_la-stat-time.o .libs/libcmd-certtool.lax/lt69-libgnu_la-stripslash.o .libs/libcmd-certtool.lax/lt70-libgnu_la-sys_socket.o .libs/libcmd-certtool.lax/lt71-libgnu_la-threadlib.o .libs/libcmd-certtool.lax/lt72-libgnu_la-tls.o .libs/libcmd-certtool.lax/lt73-libgnu_la-unistd.o .libs/libcmd-certtool.lax/lt74-libgnu_la-xsize.o .libs/libcmd-certtool.lax/lt75-printf-args.o .libs/libcmd-certtool.lax/lt76-printf-parse.o .libs/libcmd-certtool.lax/lt77-vasnprintf.o .libs/libcmd-certtool.lax/lt78-asnprintf.o .libs/libcmd-certtool.lax/lt79-libgnu_gpl_la-basename-lgpl.o .libs/libcmd-certtool.lax/lt80-libgnu_gpl_la-bitrotate.o .libs/libcmd-certtool.lax/lt81-libgnu_gpl_la-c-ctype.o .libs/libcmd-certtool.lax/lt82-libgnu_gpl_la-c-strcasecmp.o .libs/libcmd-certtool.lax/lt83-libgnu_gpl_la-c-strncasecmp.o .libs/libcmd-certtool.lax/lt84-libgnu_gpl_la-cloexec.o .libs/libcmd-certtool.lax/lt85-libgnu_gpl_la-close-stream.o .libs/libcmd-certtool.lax/lt86-libgnu_gpl_la-exitfail.o .libs/libcmd-certtool.lax/lt87-libgnu_gpl_la-fcntl.o .libs/libcmd-certtool.lax/lt88-libgnu_gpl_la-fd-hook.o .libs/libcmd-certtool.lax/lt89-libgnu_gpl_la-getprogname.o .libs/libcmd-certtool.lax/lt90-libgnu_gpl_la-gettime.o .libs/libcmd-certtool.lax/lt91-libgnu_gpl_la-gl_linked_list.o .libs/libcmd-certtool.lax/lt92-libgnu_gpl_la-gl_linkedhash_list.o .libs/libcmd-certtool.lax/lt93-libgnu_gpl_la-gl_list.o .libs/libcmd-certtool.lax/lt94-libgnu_gpl_la-gl_xlist.o .libs/libcmd-certtool.lax/lt95-libgnu_gpl_la-hash-pjw-bare.o .libs/libcmd-certtool.lax/lt96-libgnu_gpl_la-hash.o .libs/libcmd-certtool.lax/lt97-libgnu_gpl_la-ialloc.o .libs/libcmd-certtool.lax/lt98-libgnu_gpl_la-lock.o .libs/libcmd-certtool.lax/lt99-libgnu_gpl_la-malloca.o .libs/libcmd-certtool.lax/lt100-libgnu_gpl_la-memset_explicit.o .libs/libcmd-certtool.lax/lt101-libgnu_gpl_la-nstrftime.o .libs/libcmd-certtool.lax/lt102-libgnu_gpl_la-parse-datetime.o .libs/libcmd-certtool.lax/lt103-libgnu_gpl_la-progname.o .libs/libcmd-certtool.lax/lt104-libgnu_gpl_la-read-file.o .libs/libcmd-certtool.lax/lt105-libgnu_gpl_la-scratch_buffer_grow.o .libs/libcmd-certtool.lax/lt106-libgnu_gpl_la-scratch_buffer_grow_preserve.o .libs/libcmd-certtool.lax/lt107-libgnu_gpl_la-scratch_buffer_set_array_size.o .libs/libcmd-certtool.lax/lt108-libgnu_gpl_la-sockets.o .libs/libcmd-certtool.lax/lt109-libgnu_gpl_la-stat-time.o .libs/libcmd-certtool.lax/lt110-libgnu_gpl_la-sys_socket.o .libs/libcmd-certtool.lax/lt111-libgnu_gpl_la-threadlib.o .libs/libcmd-certtool.lax/lt112-libgnu_gpl_la-time_rz.o .libs/libcmd-certtool.lax/lt113-libgnu_gpl_la-timespec.o .libs/libcmd-certtool.lax/lt114-libgnu_gpl_la-tls.o .libs/libcmd-certtool.lax/lt115-libgnu_gpl_la-unistd.o .libs/libcmd-certtool.lax/lt116-libgnu_gpl_la-xalloc-die.o .libs/libcmd-certtool.lax/lt117-libgnu_gpl_la-xmalloc.o .libs/libcmd-certtool.lax/lt118-libgnu_gpl_la-xsize.o .libs/libcmd-certtool.lax/lt119-mktime.o .libs/libcmd-certtool.lax/lt120-printf-args.o .libs/libcmd-certtool.lax/lt121-printf-parse.o .libs/libcmd-certtool.lax/lt122-vasnprintf.o libtool: link: ranlib .libs/libcmd-certtool.a libtool: link: rm -fr .libs/libcmd-certtool.lax .libs/libcmd-certtool.lax libtool: link: ( cd ".libs" && rm -f "libcmd-certtool.la" && ln -s "../libcmd-certtool.la" "libcmd-certtool.la" ) /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o certtool certtool.o certtool-common.o certtool-extras.o common.o ../lib/libgnutls.la libcmd-certtool.la ../gl/libgnu.la gl/libgnu_gpl.la libtool: link: i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o .libs/certtool certtool.o certtool-common.o certtool-extras.o common.o ../lib/.libs/libgnutls.so ./.libs/libcmd-certtool.a /usr/src/RPM/BUILD/gnutls-3.8.1/lib/.libs/libgnutls.so -L/usr/lib -lz -lp11-kit -lidn2 -lunistring -lnettle -lhogweed -lgmp -ltasn1 ../gl/.libs/libgnu.a gl/.libs/libgnu_gpl.a gl/parse-datetime.c: In function 'yyparse': gl/parse-datetime.c:1715:12: warning: use of uninitialized value 'yylval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1715 | *++yyvsp = yylval; | ^ 'parse_datetime_body': events 1-8 | |gl/parse-datetime.y:1708:1: | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1510 | YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default); | | ~ | | | | | (10) region created on stack here | | (11) capacity: 52 bytes |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (12) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (14) following 'false' branch (when 'yystate_221 != 12')... | | (13) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (15) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (16) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (18) following 'true' branch (when 'yychar_208 == -2')... | | (17) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (19) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (20) calling 'yylex' from 'yyparse' | +--> 'yylex': events 21-22 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (21) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (22) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 23-24 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (23) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (24) ...to here | <-------------+ | 'yyparse': events 25-32 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (25) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (26) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (27) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (28) following 'false' branch (when 'yyn_258 > 0')... |...... | 1708 | if (yyerrstatus) | | ~ ~ | | | | | | | (30) following 'false' branch (when 'yyerrstatus_224 == 0')... | | (29) ...to here |...... | 1712 | YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); | | ~ | | | | | (31) ...to here |...... | 1715 | *++yyvsp = yylval; | | ~ | | | | | (32) use of uninitialized value 'yylval' here | gl/parse-datetime.c:1715:12: warning: use of uninitialized value 'yylval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1715 | *++yyvsp = yylval; | ^ 'parse_datetime': events 1-2 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1510 | YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default); | | ~ | | | | | (40) region created on stack here | | (41) capacity: 52 bytes |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (42) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (44) following 'false' branch (when 'yystate_221 != 12')... | | (43) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (45) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (46) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (48) following 'true' branch (when 'yychar_208 == -2')... | | (47) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (49) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (50) calling 'yylex' from 'yyparse' | +--> 'yylex': events 51-52 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (51) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (52) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 53-54 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (53) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (54) ...to here | <-------------+ | 'yyparse': events 55-62 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (55) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (56) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (57) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (58) following 'false' branch (when 'yyn_258 > 0')... |...... | 1708 | if (yyerrstatus) | | ~ ~ | | | | | | | (60) following 'false' branch (when 'yyerrstatus_224 == 0')... | | (59) ...to here |...... | 1712 | YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); | | ~ | | | | | (61) ...to here |...... | 1715 | *++yyvsp = yylval; | | ~ | | | | | (62) use of uninitialized value 'yylval' here | gl/parse-datetime.c:1715:12: warning: use of uninitialized value 'yylval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1715 | *++yyvsp = yylval; | ^ 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1510 | YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default); | | ~ | | | | | (54) region created on stack here | | (55) capacity: 52 bytes |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (56) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (58) following 'false' branch (when 'yystate_221 != 12')... | | (57) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (59) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (60) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (62) following 'true' branch (when 'yychar_208 == -2')... | | (61) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (63) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (64) calling 'yylex' from 'yyparse' | +--> 'yylex': events 65-66 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (65) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (66) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 67-68 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (67) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (68) ...to here | <-------------+ | 'yyparse': events 69-76 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (69) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (70) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (71) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (72) following 'false' branch (when 'yyn_258 > 0')... |...... | 1708 | if (yyerrstatus) | | ~ ~ | | | | | | | (74) following 'false' branch (when 'yyerrstatus_224 == 0')... | | (73) ...to here |...... | 1712 | YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); | | ~ | | | | | (75) ...to here |...... | 1715 | *++yyvsp = yylval; | | ~ | | | | | (76) use of uninitialized value 'yylval' here | gl/parse-datetime.c:1748:9: warning: use of uninitialized value '*_15' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1748 | yyval = yyvsp[1-yylen]; | ^ 'yyparse': events 1-14 | | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (10) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (11) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (12) following 'true' branch (when 'yyn_258 <= 0')... | 1699 | { | 1700 | if (yytable_value_is_error (yyn)) | | ~ | | | | | (13) ...to here |...... | 1748 | yyval = yyvsp[1-yylen]; | | ~ | | | | | (14) use of uninitialized value '*_15' here | gl/parse-datetime.c:1748:9: warning: use of uninitialized value '*_15' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1748 | yyval = yyvsp[1-yylen]; | ^ 'parse_datetime_body': events 1-8 | |gl/parse-datetime.y:1708:1: | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (17) following 'true' branch (when 'yychar_208 == -2')... | | (16) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (18) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (19) calling 'yylex' from 'yyparse' | +--> 'yylex': events 20-21 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (20) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (21) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 22-23 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (22) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (23) ...to here | <-------------+ | 'yyparse': events 24-29 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (24) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (25) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (26) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (27) following 'true' branch (when 'yyn_258 <= 0')... | 1699 | { | 1700 | if (yytable_value_is_error (yyn)) | | ~ | | | | | (28) ...to here |...... | 1748 | yyval = yyvsp[1-yylen]; | | ~ | | | | | (29) use of uninitialized value '*_15' here | gl/parse-datetime.c:1748:9: warning: use of uninitialized value '*_15' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1748 | yyval = yyvsp[1-yylen]; | ^ 'parse_datetime': events 1-2 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (47) following 'true' branch (when 'yychar_208 == -2')... | | (46) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (48) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (49) calling 'yylex' from 'yyparse' | +--> 'yylex': events 50-51 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (50) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (51) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 52-53 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (52) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (53) ...to here | <-------------+ | 'yyparse': events 54-59 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (54) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (55) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (56) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (57) following 'true' branch (when 'yyn_258 <= 0')... | 1699 | { | 1700 | if (yytable_value_is_error (yyn)) | | ~ | | | | | (58) ...to here |...... | 1748 | yyval = yyvsp[1-yylen]; | | ~ | | | | | (59) use of uninitialized value '*_15' here | gl/parse-datetime.c:1748:9: warning: use of uninitialized value '*_15' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1748 | yyval = yyvsp[1-yylen]; | ^ 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (61) following 'true' branch (when 'yychar_208 == -2')... | | (60) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (62) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (63) calling 'yylex' from 'yyparse' | +--> 'yylex': events 64-65 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (64) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (65) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 66-67 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (66) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (67) ...to here | <-------------+ | 'yyparse': events 68-73 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (68) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (69) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (70) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (71) following 'true' branch (when 'yyn_258 <= 0')... | 1699 | { | 1700 | if (yytable_value_is_error (yyn)) | | ~ | | | | | (72) ...to here |...... | 1748 | yyval = yyvsp[1-yylen]; | | ~ | | | | | (73) use of uninitialized value '*_15' here | gl/parse-datetime.y:600:21: warning: use of uninitialized value 'yyvsp_231->timespec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 600 | pc->seconds = $2; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 4:' branch... | 1753 | { | 1754 | case 4: /* timespec: '@' seconds */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:600:21: | 600 | pc->seconds = $2; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->timespec' here | gl/parse-datetime.y:600:21: warning: use of uninitialized value 'yyvsp_231->timespec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 4:' branch... | 1753 | { | 1754 | case 4: /* timespec: '@' seconds */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:600:21: | 600 | pc->seconds = $2; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->timespec' here | gl/parse-datetime.y:600:21: warning: use of uninitialized value 'yyvsp_231->timespec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 4:' branch... | 1753 | { | 1754 | case 4: /* timespec: '@' seconds */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:600:21: | 600 | pc->seconds = $2; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->timespec' here | gl/parse-datetime.y:600:21: warning: use of uninitialized value 'yyvsp_231->timespec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 4:' branch... | 1753 | { | 1754 | case 4: /* timespec: '@' seconds */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:600:21: | 600 | pc->seconds = $2; | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->timespec' here | gl/parse-datetime.y:672:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:672:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:672:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:672:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:672:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:672:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:672:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:672:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:672:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:672:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:672:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:672:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:672:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:677:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:677:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:677:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:677:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:677:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:677:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:677:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:677:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:677:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:677:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:677:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:677:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:677:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:682:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:682:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:682:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:682:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:682:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:682:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:682:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:682:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:682:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:682:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:682:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:682:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:682:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:691:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:691:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:691:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:691:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:691:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:691:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:691:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:691:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:691:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:691:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:691:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:691:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:691:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:696:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:696:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:696:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:696:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:696:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:696:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:696:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:696:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:696:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:696:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:696:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:696:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:696:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:701:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:701:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:701:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:701:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:701:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:701:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:701:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:701:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:701:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:701:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:701:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:701:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:701:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:715:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 28:' branch... |...... | 1905 | case 28: /* zone_offset: tSNUMBER o_colon_minutes */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:715:15: | 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:715:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 28:' branch... |...... | 1905 | case 28: /* zone_offset: tSNUMBER o_colon_minutes */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:715:15: | 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:715:15: warning: use of uninitialized value '_64->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 28:' branch... |...... | 1905 | case 28: /* zone_offset: tSNUMBER o_colon_minutes */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:715:15: | 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | | ^ | | | | | (28) use of uninitialized value '_64->textintval' here | gl/parse-datetime.y:715:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 28:' branch... |...... | 1905 | case 28: /* zone_offset: tSNUMBER o_colon_minutes */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:715:15: | 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:715:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 28:' branch... |...... | 1905 | case 28: /* zone_offset: tSNUMBER o_colon_minutes */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:715:15: | 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:738:36: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 738 | { pc->local_isdst = $1; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 29:' branch... |...... | 1914 | case 29: /* local_zone: tLOCAL_ZONE */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:738:36: | 738 | { pc->local_isdst = $1; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:738:36: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 29:' branch... |...... | 1914 | case 29: /* local_zone: tLOCAL_ZONE */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:738:36: | 738 | { pc->local_isdst = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:738:36: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 29:' branch... |...... | 1914 | case 29: /* local_zone: tLOCAL_ZONE */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:738:36: | 738 | { pc->local_isdst = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:738:36: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 29:' branch... |...... | 1914 | case 29: /* local_zone: tLOCAL_ZONE */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:738:36: | 738 | { pc->local_isdst = $1; } | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:750:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 750 | { pc->time_zone = $1; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 31:' branch... |...... | 1929 | case 31: /* zone: tZONE */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:750:34: | 750 | { pc->time_zone = $1; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:750:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 31:' branch... |...... | 1929 | case 31: /* zone: tZONE */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:750:34: | 750 | { pc->time_zone = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:750:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 31:' branch... |...... | 1929 | case 31: /* zone: tZONE */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:750:34: | 750 | { pc->time_zone = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:750:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 31:' branch... |...... | 1929 | case 31: /* zone: tZONE */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:750:34: | 750 | { pc->time_zone = $1; } | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:754:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 754 | { pc->time_zone = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:754:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:754:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:754:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:754:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:754:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:754:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:754:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:754:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:754:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:754:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:754:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:754:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:760:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 34:' branch... |...... | 1950 | case 34: /* zone: 'T' relunit_snumber */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:760:15: | 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:760:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 34:' branch... |...... | 1950 | case 34: /* zone: 'T' relunit_snumber */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:760:15: | 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:760:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 34:' branch... |...... | 1950 | case 34: /* zone: 'T' relunit_snumber */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:760:15: | 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:760:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 34:' branch... |...... | 1950 | case 34: /* zone: 'T' relunit_snumber */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:760:15: | 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:764:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 35:' branch... |...... | 1959 | case 35: /* zone: tZONE tSNUMBER o_colon_minutes */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:764:15: | 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:764:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 35:' branch... |...... | 1959 | case 35: /* zone: tZONE tSNUMBER o_colon_minutes */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:764:15: | 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:764:15: warning: use of uninitialized value '_77->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 35:' branch... |...... | 1959 | case 35: /* zone: tZONE tSNUMBER o_colon_minutes */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:764:15: | 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | | ^ | | | | | (28) use of uninitialized value '_77->textintval' here | gl/parse-datetime.y:764:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 35:' branch... |...... | 1959 | case 35: /* zone: tZONE tSNUMBER o_colon_minutes */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:764:15: | 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:764:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 35:' branch... |...... | 1959 | case 35: /* zone: tZONE tSNUMBER o_colon_minutes */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:764:15: | 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:767:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 767 | { pc->time_zone = $1 + 60 * 60; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 36:' branch... |...... | 1966 | case 36: /* zone: tDAYZONE */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:767:34: | 767 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:767:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 36:' branch... |...... | 1966 | case 36: /* zone: tDAYZONE */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:767:34: | 767 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:767:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 36:' branch... |...... | 1966 | case 36: /* zone: tDAYZONE */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:767:34: | 767 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:767:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 36:' branch... |...... | 1966 | case 36: /* zone: tDAYZONE */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:767:34: | 767 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:769:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 769 | { pc->time_zone = $1 + 60 * 60; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:769:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:769:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:769:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:769:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:769:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:769:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:769:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:769:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:769:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:769:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:769:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:769:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:776:35: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 776 | pc->day_number = $1; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 38:' branch... |...... | 1978 | case 38: /* day: tDAY */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:776:35: | 776 | pc->day_number = $1; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:776:35: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 38:' branch... |...... | 1978 | case 38: /* day: tDAY */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:776:35: | 776 | pc->day_number = $1; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:776:35: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 38:' branch... |...... | 1978 | case 38: /* day: tDAY */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:776:35: | 776 | pc->day_number = $1; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:776:35: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 38:' branch... |...... | 1978 | case 38: /* day: tDAY */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:776:35: | 776 | pc->day_number = $1; | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:781:36: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 781 | pc->day_number = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:781:36: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:781:36: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:781:36: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:781:36: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:781:36: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:781:36: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:781:36: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:781:36: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:781:36: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:781:36: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:781:36: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:781:36: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:785:37: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 785 | pc->day_ordinal = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:785:37: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:785:37: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:785:37: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:785:37: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:785:37: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:785:37: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:785:37: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:785:37: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:785:37: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:785:37: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:785:37: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:785:37: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:791:49: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 791 | pc->day_ordinal = $1.value; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:791:49: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:791:49: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:791:49: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:791:49: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:791:49: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:791:49: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:791:49: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:791:49: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:791:49: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:791:49: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:791:49: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:791:49: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:800:43: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 800 | pc->month = $1.value; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (9) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:800:43: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:800:43: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:800:43: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:800:43: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:800:43: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:800:43: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (27) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:800:43: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:800:43: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:800:43: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:800:43: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:800:43: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:800:43: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (64) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:800:43: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:800:43: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:810:40: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 810 | if (4 <= $1.digits) | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (9) out-of-bounds read from byte -196 till byte -193 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:810:40: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:810:40: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' here | gl/parse-datetime.y:810:40: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (20) out-of-bounds read from byte -196 till byte -193 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:810:40: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:810:40: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' here | gl/parse-datetime.y:810:40: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (27) out-of-bounds read from byte -144 till byte -141 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:810:40: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:810:40: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' here | gl/parse-datetime.y:810:40: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (50) out-of-bounds read from byte -196 till byte -193 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:810:40: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:810:40: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' here | gl/parse-datetime.y:810:40: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (64) out-of-bounds read from byte -196 till byte -193 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:810:40: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:810:40: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' here | gl/parse-datetime.y:839:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 839 | pc->day = $1.value; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (9) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:839:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:839:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:839:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:839:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:839:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:839:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (27) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:839:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:839:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:839:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:839:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:839:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:839:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (64) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:839:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:839:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:847:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 847 | pc->month = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (9) out-of-bounds read from byte -104 till byte -97 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:847:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:847:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' here | gl/parse-datetime.y:847:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (20) out-of-bounds read from byte -104 till byte -97 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:847:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:847:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' here | gl/parse-datetime.y:847:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (27) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:847:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:847:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' here | gl/parse-datetime.y:847:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (50) out-of-bounds read from byte -104 till byte -97 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:847:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:847:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' here | gl/parse-datetime.y:847:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (64) out-of-bounds read from byte -104 till byte -97 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:847:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:847:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' here | gl/parse-datetime.y:854:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 854 | pc->month = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:854:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:854:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:854:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:854:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:854:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:854:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:854:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:854:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:854:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:854:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:854:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:854:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:859:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 859 | pc->month = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (9) out-of-bounds read from byte -156 till byte -149 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:859:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:859:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' here | gl/parse-datetime.y:859:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (20) out-of-bounds read from byte -156 till byte -149 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:859:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:859:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' here | gl/parse-datetime.y:859:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (27) out-of-bounds read from byte -104 till byte -97 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:859:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:859:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' here | gl/parse-datetime.y:859:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (50) out-of-bounds read from byte -156 till byte -149 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:859:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:859:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' here | gl/parse-datetime.y:859:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (64) out-of-bounds read from byte -156 till byte -149 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:859:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:859:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' here | gl/parse-datetime.y:865:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 865 | pc->day = $1.value; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:865:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:865:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:865:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:865:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:865:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:865:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:865:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:865:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:865:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:865:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:865:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:865:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:870:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 870 | pc->day = $1.value; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (9) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:870:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:870:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:870:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:870:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:870:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:870:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (27) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:870:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:870:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:870:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:870:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:870:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:870:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (64) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:870:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:870:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:881:18: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 881 | pc->year = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (9) out-of-bounds read from byte -104 till byte -89 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:881:18: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:881:18: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' here | gl/parse-datetime.y:881:18: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (20) out-of-bounds read from byte -104 till byte -89 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:881:18: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:881:18: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' here | gl/parse-datetime.y:881:18: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (27) out-of-bounds read from byte -52 till byte -37 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:881:18: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:881:18: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' here | gl/parse-datetime.y:881:18: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (50) out-of-bounds read from byte -104 till byte -89 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:881:18: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:881:18: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' here | gl/parse-datetime.y:881:18: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (64) out-of-bounds read from byte -104 till byte -89 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:881:18: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:881:18: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' here | gl/parse-datetime.y:889:15: warning: use of uninitialized value '_143->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | ^ 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 52:' branch... |...... | 2135 | case 52: /* rel: relunit tAGO */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:889:15: | 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | | ^ | | | | | (28) use of uninitialized value '_143->rel' here | gl/parse-datetime.y:889:66: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 52:' branch... |...... | 2135 | case 52: /* rel: relunit tAGO */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:889:66: | 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:889:66: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 52:' branch... |...... | 2135 | case 52: /* rel: relunit tAGO */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:889:66: | 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:889:66: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 52:' branch... |...... | 2135 | case 52: /* rel: relunit tAGO */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:889:66: | 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:889:66: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 52:' branch... |...... | 2135 | case 52: /* rel: relunit tAGO */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:889:66: | 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:891:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 53:' branch... |...... | 2141 | case 53: /* rel: relunit */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:891:15: | 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:891:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 53:' branch... |...... | 2141 | case 53: /* rel: relunit */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:891:15: | 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:891:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 53:' branch... |...... | 2141 | case 53: /* rel: relunit */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:891:15: | 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:891:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 53:' branch... |...... | 2141 | case 53: /* rel: relunit */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:891:15: | 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:893:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 54:' branch... |...... | 2147 | case 54: /* rel: dayshift */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:893:15: | 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:893:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 54:' branch... |...... | 2147 | case 54: /* rel: dayshift */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:893:15: | 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:893:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 54:' branch... |...... | 2147 | case 54: /* rel: dayshift */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:893:15: | 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:893:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 54:' branch... |...... | 2147 | case 54: /* rel: dayshift */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:893:15: | 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:898:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:898:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:898:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:898:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:898:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:898:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:898:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:898:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:898:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:898:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:898:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:898:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:898:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:900:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:900:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:900:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:900:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:900:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:900:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:900:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:900:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:900:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:900:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:900:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:900:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:900:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:904:70: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:904:70: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:904:70: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:904:70: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:904:70: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:904:70: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:904:70: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:904:70: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:904:70: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:904:70: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:904:70: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:904:70: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:904:70: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:906:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:906:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:906:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:906:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:906:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:906:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:906:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:906:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:906:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:906:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:906:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:906:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:906:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:911:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:911:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:911:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:911:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:911:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:911:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:911:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:911:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:911:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:911:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:911:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:911:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:911:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:914:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:914:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:914:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:914:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:914:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:914:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:914:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:914:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:914:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:914:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:914:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:914:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:914:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:916:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 63:' branch... |...... | 2203 | case 63: /* relunit: tDAY_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:916:67: | 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:916:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 63:' branch... |...... | 2203 | case 63: /* relunit: tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:916:67: | 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:916:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 63:' branch... |...... | 2203 | case 63: /* relunit: tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:916:67: | 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:916:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 63:' branch... |...... | 2203 | case 63: /* relunit: tDAY_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:916:67: | 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:918:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:918:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:918:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:918:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:918:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:918:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:918:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:918:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:918:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:918:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:918:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:918:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:918:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:920:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:920:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:920:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:920:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:920:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:920:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:920:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:920:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:920:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:920:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:920:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:920:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:920:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:924:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:924:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:924:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:924:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:924:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:924:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:924:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:924:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:924:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:924:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:924:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:924:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:924:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:926:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:926:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:926:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:926:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:926:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:926:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:926:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:926:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:926:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:926:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:926:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:926:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:926:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:930:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:930:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:930:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:930:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:930:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:930:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:930:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:930:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:930:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:930:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:930:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:930:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:930:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:932:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:932:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:932:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:932:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:932:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:932:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:932:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:932:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:932:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:932:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:932:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:932:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:932:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:934:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:934:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:934:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:934:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:934:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:934:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:934:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:934:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:934:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:934:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:934:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:934:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:934:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:936:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:936:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:936:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:936:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:936:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:936:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:936:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:936:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:936:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:936:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:936:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:936:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:936:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:944:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:944:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:944:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:944:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:944:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:944:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:944:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:944:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:944:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:944:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:944:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:944:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:944:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:946:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:946:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:946:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:946:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:946:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:946:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:946:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:946:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:946:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:946:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:946:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:946:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:946:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:949:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:949:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:949:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:949:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:949:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:949:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:949:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:949:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:949:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:949:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:949:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:949:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:949:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:951:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:951:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:951:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:951:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:951:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:951:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:951:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:951:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:951:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:951:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:951:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:951:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:951:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:953:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:953:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:953:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:953:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:953:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:953:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:953:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:953:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:953:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:953:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:953:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:953:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:953:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:955:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:955:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:955:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:955:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:955:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:955:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:955:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:955:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:955:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:955:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:955:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (64) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:955:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:955:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (65) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:960:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 82:' branch... |...... | 2312 | case 82: /* dayshift: tDAY_SHIFT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:960:67: | 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:960:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 82:' branch... |...... | 2312 | case 82: /* dayshift: tDAY_SHIFT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:960:67: | 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:960:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 82:' branch... |...... | 2312 | case 82: /* dayshift: tDAY_SHIFT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:960:67: | 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:960:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 82:' branch... |...... | 2312 | case 82: /* dayshift: tDAY_SHIFT */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:960:67: | 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:968:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 968 | { if (time_overflow ($1.value)) YYABORT; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 86:' branch... |...... | 2318 | case 86: /* signed_seconds: tSNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:968:13: | 968 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:968:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 86:' branch... |...... | 2318 | case 86: /* signed_seconds: tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:968:13: | 968 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:968:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 86:' branch... |...... | 2318 | case 86: /* signed_seconds: tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:968:13: | 968 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:968:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 86:' branch... |...... | 2318 | case 86: /* signed_seconds: tSNUMBER */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:968:13: | 968 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:975:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 975 | { if (time_overflow ($1.value)) YYABORT; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 88:' branch... |...... | 2325 | case 88: /* unsigned_seconds: tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:975:13: | 975 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:975:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 88:' branch... |...... | 2325 | case 88: /* unsigned_seconds: tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:975:13: | 975 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:975:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 88:' branch... |...... | 2325 | case 88: /* unsigned_seconds: tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:975:13: | 975 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:975:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 88:' branch... |...... | 2325 | case 88: /* unsigned_seconds: tUNUMBER */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:975:13: | 975 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:981:9: warning: use of uninitialized value 'yyvsp_231->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 981 | { digits_to_date_time (pc, $1); } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 89:' branch... |...... | 2332 | case 89: /* number: tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:981:9: | 981 | { digits_to_date_time (pc, $1); } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->textintval' here | gl/parse-datetime.y:981:9: warning: use of uninitialized value 'yyvsp_231->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 89:' branch... |...... | 2332 | case 89: /* number: tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:981:9: | 981 | { digits_to_date_time (pc, $1); } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval' here | gl/parse-datetime.y:981:9: warning: use of uninitialized value 'yyvsp_231->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 89:' branch... |...... | 2332 | case 89: /* number: tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:981:9: | 981 | { digits_to_date_time (pc, $1); } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval' here | gl/parse-datetime.y:981:9: warning: use of uninitialized value 'yyvsp_231->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 89:' branch... |...... | 2332 | case 89: /* number: tUNUMBER */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:981:9: | 981 | { digits_to_date_time (pc, $1); } | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->textintval' here | gl/parse-datetime.y:989:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 989 | digits_to_date_time (pc, $1); | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -37 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:989:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:989:9: warning: use of uninitialized value '_189->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (10) use of uninitialized value '_189->textintval' here | gl/parse-datetime.y:989:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -37 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:989:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:989:9: warning: use of uninitialized value '_189->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (21) use of uninitialized value '_189->textintval' here | gl/parse-datetime.y:989:9: warning: use of uninitialized value '_189->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (28) use of uninitialized value '_189->textintval' here | gl/parse-datetime.y:989:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -37 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:989:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:989:9: warning: use of uninitialized value '_189->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (51) use of uninitialized value '_189->textintval' here | gl/parse-datetime.y:989:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-63 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (54) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (56) following 'false' branch (when 'yystate_221 != 12')... | | (55) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (57) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (58) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (59) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (60) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (61) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (62) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (63) ...to here | 'yyparse': event 64 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (64) out-of-bounds read from byte -52 till byte -37 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:989:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:989:9: warning: use of uninitialized value '_189->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (65) use of uninitialized value '_189->textintval' here | gl/parse-datetime.y:998:47: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 998 | { $$ = $2.value; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 92:' branch... |...... | 2355 | case 92: /* o_colon_minutes: ':' tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:998:47: | 998 | { $$ = $2.value; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:998:47: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 92:' branch... |...... | 2355 | case 92: /* o_colon_minutes: ':' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:998:47: | 998 | { $$ = $2.value; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:998:47: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 92:' branch... |...... | 2355 | case 92: /* o_colon_minutes: ':' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:998:47: | 998 | { $$ = $2.value; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:998:47: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'get_crl_next_update': events 1-2 | |certtool-cfg.c:2624:8: | 2624 | time_t get_crl_next_update(void) | | ^ | | | | | (1) entry to 'get_crl_next_update' | 2625 | { | 2626 | return get_int_date(cfg.next_update_date, cfg.crl_next_update, | | ~ | | | | | (2) calling 'get_int_date' from 'get_crl_next_update' | +--> 'get_int_date': events 3-8 | | 1792 | static time_t get_int_date(const char *txt_val, int int_val, const char *msg) | | ^ | | | | | (3) entry to 'get_int_date' | 1793 | { | 1794 | if (batch) { | | ~ | | | | | (4) following 'true' branch... | 1795 | if (txt_val == NULL) { | | ~ ~ | | | | | | | (6) following 'false' branch (when 'txt_val_11(D)' is non-NULL)... | | (5) ...to here |...... | 1806 | return get_date(txt_val); | | ~ ~ | | | | | | | (8) calling 'get_date' from 'get_int_date' | | (7) ...to here | +--> 'get_date': events 9-12 | | 1711 | static time_t get_date(const char *date) | | ^ | | | | | (9) entry to 'get_date' |...... | 1715 | if (date == NULL || parse_datetime(&r, date, NULL) == 0) { | | ~ ~ | | | | | | | (11) ...to here | | | (12) calling 'parse_datetime' from 'get_date' | | (10) following 'false' branch (when 'date_3(D)' is non-NULL)... | +--> 'parse_datetime': events 13-14 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (13) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (14) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 15 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (15) entry to 'tzalloc' | 'tzalloc': events 16-19 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (16) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (17) ...to here |...... | 78 | if (name) | | ~ | | | | | (18) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (19) ...to here | <------+ | 'parse_datetime': events 20-23 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (20) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (21) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (23) calling 'parse_datetime_body' from 'parse_datetime' | | (22) ...to here | +--> 'parse_datetime_body': events 24-27 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (24) entry to 'parse_datetime_body' |...... | 1726 | if (! now) | | ~ | | | | | (25) following 'true' branch (when 'now_225(D)' is NULL)... | 1727 | { | 1728 | gettime (&gettime_buffer); | | ~ | | | | | (26) ...to here |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (27) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 28 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (28) entry to 'localtime_rz' | 'localtime_rz': events 29-31 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (29) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (30) ...to here (31) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 32-33 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (32) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (33) following 'true' branch... | 'set_tz': event 34 | |lto1: | (34): ...to here | <------+ | 'localtime_rz': events 35-40 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (35) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (36) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (39) ...to here (38) following 'true' branch... | | (37) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (40) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 41 | | 235 | if (tz == local_tz) | | ^ | | | | | (41) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 42-43 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (42) ...to here (43) following 'true' branch... | 'localtime_rz': event 44 | |lto1: | (44): ...to here | <------+ | 'parse_datetime_body': events 45-52 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (45) returning to 'parse_datetime_body' from 'localtime_rz' | | (46) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (47) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (48) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (49) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (50) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (51) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (52) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 53-64 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (53) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (54) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (55) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (57) following 'false' branch (when 'yystate_221 != 12')... | | (56) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (58) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (59) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (60) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (61) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (62) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (63) following 'case 92:' branch... |...... | 2355 | case 92: /* o_colon_minutes: ':' tUNUMBER */ | | ~ | | | | | (64) ...to here | 'yyparse': event 65 | |gl/parse-datetime.y:998:47: | 998 | { $$ = $2.value; } | | ^ | | | | | (65) use of uninitialized value 'yyvsp_231->textintval.value' here | i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o serv.o serv.c serv.c: In function 'terminate': serv.c:1139:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1139 | write(STDERR_FILENO, buf, p - buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o udp-serv.o udp-serv.c /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gnutls-serv-options.lo gnutls-serv-options.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gnutls-serv-options.c -fPIC -DPIC -o .libs/gnutls-serv-options.o /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libcmd-serv.la gnutls-serv-options.lo libtool: link: ar cr .libs/libcmd-serv.a .libs/gnutls-serv-options.o libtool: link: ranlib .libs/libcmd-serv.a libtool: link: ( cd ".libs" && rm -f "libcmd-serv.la" && ln -s "../libcmd-serv.la" "libcmd-serv.la" ) /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o gnutls-serv serv.o udp-serv.o common.o ../lib/libgnutls.la libcmd-serv.la ../gl/libgnu.la gl/libgnu_gpl.la libtool: link: i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o .libs/gnutls-serv serv.o udp-serv.o common.o ../lib/.libs/libgnutls.so ./.libs/libcmd-serv.a ../gl/.libs/libgnu.a gl/.libs/libgnu_gpl.a gl/parse-datetime.c: In function 'yyparse': gl/parse-datetime.c:1715:12: warning: use of uninitialized value 'yylval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1715 | *++yyvsp = yylval; | ^ 'parse_datetime_body': events 1-8 | |gl/parse-datetime.y:1708:1: | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1510 | YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default); | | ~ | | | | | (10) region created on stack here | | (11) capacity: 52 bytes |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (12) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (14) following 'false' branch (when 'yystate_221 != 12')... | | (13) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (15) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (16) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (18) following 'true' branch (when 'yychar_208 == -2')... | | (17) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (19) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (20) calling 'yylex' from 'yyparse' | +--> 'yylex': events 21-22 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (21) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (22) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 23-24 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (23) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (24) ...to here | <-------------+ | 'yyparse': events 25-32 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (25) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (26) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (27) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (28) following 'false' branch (when 'yyn_258 > 0')... |...... | 1708 | if (yyerrstatus) | | ~ ~ | | | | | | | (30) following 'false' branch (when 'yyerrstatus_224 == 0')... | | (29) ...to here |...... | 1712 | YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); | | ~ | | | | | (31) ...to here |...... | 1715 | *++yyvsp = yylval; | | ~ | | | | | (32) use of uninitialized value 'yylval' here | gl/parse-datetime.c:1715:12: warning: use of uninitialized value 'yylval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1715 | *++yyvsp = yylval; | ^ 'parse_datetime': events 1-2 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1510 | YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default); | | ~ | | | | | (40) region created on stack here | | (41) capacity: 52 bytes |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (42) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (44) following 'false' branch (when 'yystate_221 != 12')... | | (43) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (45) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (46) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (48) following 'true' branch (when 'yychar_208 == -2')... | | (47) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (49) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (50) calling 'yylex' from 'yyparse' | +--> 'yylex': events 51-52 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (51) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (52) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 53-54 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (53) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (54) ...to here | <-------------+ | 'yyparse': events 55-62 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (55) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (56) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (57) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (58) following 'false' branch (when 'yyn_258 > 0')... |...... | 1708 | if (yyerrstatus) | | ~ ~ | | | | | | | (60) following 'false' branch (when 'yyerrstatus_224 == 0')... | | (59) ...to here |...... | 1712 | YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); | | ~ | | | | | (61) ...to here |...... | 1715 | *++yyvsp = yylval; | | ~ | | | | | (62) use of uninitialized value 'yylval' here | gl/parse-datetime.c:1748:9: warning: use of uninitialized value '*_15' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1748 | yyval = yyvsp[1-yylen]; | ^ 'parse_datetime_body': events 1-8 | |gl/parse-datetime.y:1708:1: | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (17) following 'true' branch (when 'yychar_208 == -2')... | | (16) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (18) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (19) calling 'yylex' from 'yyparse' | +--> 'yylex': events 20-21 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (20) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (21) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 22-23 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (22) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (23) ...to here | <-------------+ | 'yyparse': events 24-29 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (24) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (25) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (26) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (27) following 'true' branch (when 'yyn_258 <= 0')... | 1699 | { | 1700 | if (yytable_value_is_error (yyn)) | | ~ | | | | | (28) ...to here |...... | 1748 | yyval = yyvsp[1-yylen]; | | ~ | | | | | (29) use of uninitialized value '*_15' here | gl/parse-datetime.c:1748:9: warning: use of uninitialized value '*_15' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1748 | yyval = yyvsp[1-yylen]; | ^ 'parse_datetime': events 1-2 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (47) following 'true' branch (when 'yychar_208 == -2')... | | (46) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (48) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (49) calling 'yylex' from 'yyparse' | +--> 'yylex': events 50-51 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (50) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (51) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 52-53 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (52) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (53) ...to here | <-------------+ | 'yyparse': events 54-59 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (54) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (55) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (56) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (57) following 'true' branch (when 'yyn_258 <= 0')... | 1699 | { | 1700 | if (yytable_value_is_error (yyn)) | | ~ | | | | | (58) ...to here |...... | 1748 | yyval = yyvsp[1-yylen]; | | ~ | | | | | (59) use of uninitialized value '*_15' here | gl/parse-datetime.y:600:21: warning: use of uninitialized value 'yyvsp_231->timespec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 600 | pc->seconds = $2; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 4:' branch... | 1753 | { | 1754 | case 4: /* timespec: '@' seconds */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:600:21: | 600 | pc->seconds = $2; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->timespec' here | gl/parse-datetime.y:600:21: warning: use of uninitialized value 'yyvsp_231->timespec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 4:' branch... | 1753 | { | 1754 | case 4: /* timespec: '@' seconds */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:600:21: | 600 | pc->seconds = $2; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->timespec' here | gl/parse-datetime.y:672:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:672:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:672:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:672:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:672:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:672:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:677:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:677:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:677:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:677:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:677:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:677:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:682:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:682:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:682:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:682:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:682:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:682:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:691:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:691:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:691:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:691:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:691:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:691:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:696:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:696:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:696:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:696:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:696:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:696:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:701:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:701:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:701:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:701:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:701:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:701:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:715:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 28:' branch... |...... | 1905 | case 28: /* zone_offset: tSNUMBER o_colon_minutes */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:715:15: | 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:715:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 28:' branch... |...... | 1905 | case 28: /* zone_offset: tSNUMBER o_colon_minutes */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:715:15: | 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:738:36: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 738 | { pc->local_isdst = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 29:' branch... |...... | 1914 | case 29: /* local_zone: tLOCAL_ZONE */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:738:36: | 738 | { pc->local_isdst = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:738:36: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 29:' branch... |...... | 1914 | case 29: /* local_zone: tLOCAL_ZONE */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:738:36: | 738 | { pc->local_isdst = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:750:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 750 | { pc->time_zone = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 31:' branch... |...... | 1929 | case 31: /* zone: tZONE */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:750:34: | 750 | { pc->time_zone = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:750:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 31:' branch... |...... | 1929 | case 31: /* zone: tZONE */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:750:34: | 750 | { pc->time_zone = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:754:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 754 | { pc->time_zone = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:754:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:754:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:754:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:754:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:754:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:760:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 34:' branch... |...... | 1950 | case 34: /* zone: 'T' relunit_snumber */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:760:15: | 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:760:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 34:' branch... |...... | 1950 | case 34: /* zone: 'T' relunit_snumber */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:760:15: | 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:764:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 35:' branch... |...... | 1959 | case 35: /* zone: tZONE tSNUMBER o_colon_minutes */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:764:15: | 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:764:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 35:' branch... |...... | 1959 | case 35: /* zone: tZONE tSNUMBER o_colon_minutes */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:764:15: | 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:767:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 767 | { pc->time_zone = $1 + 60 * 60; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 36:' branch... |...... | 1966 | case 36: /* zone: tDAYZONE */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:767:34: | 767 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:767:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 36:' branch... |...... | 1966 | case 36: /* zone: tDAYZONE */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:767:34: | 767 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:769:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 769 | { pc->time_zone = $1 + 60 * 60; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:769:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:769:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:769:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:769:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:769:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:776:35: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 776 | pc->day_number = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 38:' branch... |...... | 1978 | case 38: /* day: tDAY */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:776:35: | 776 | pc->day_number = $1; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:776:35: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 38:' branch... |...... | 1978 | case 38: /* day: tDAY */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:776:35: | 776 | pc->day_number = $1; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:781:36: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 781 | pc->day_number = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:781:36: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:781:36: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:781:36: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:781:36: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:781:36: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:785:37: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 785 | pc->day_ordinal = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:785:37: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:785:37: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:785:37: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:785:37: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:785:37: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:791:49: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 791 | pc->day_ordinal = $1.value; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:791:49: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:791:49: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:791:49: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:791:49: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:791:49: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:800:43: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 800 | pc->month = $1.value; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:800:43: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:800:43: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:800:43: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:800:43: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:800:43: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:810:40: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 810 | if (4 <= $1.digits) | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (20) out-of-bounds read from byte -196 till byte -193 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:810:40: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:810:40: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' here | gl/parse-datetime.y:810:40: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (50) out-of-bounds read from byte -196 till byte -193 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:810:40: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:810:40: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' here | gl/parse-datetime.y:839:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 839 | pc->day = $1.value; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:839:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:839:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:839:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:839:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:839:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:847:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 847 | pc->month = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (20) out-of-bounds read from byte -104 till byte -97 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:847:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:847:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' here | gl/parse-datetime.y:847:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (50) out-of-bounds read from byte -104 till byte -97 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:847:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:847:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' here | gl/parse-datetime.y:854:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 854 | pc->month = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:854:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:854:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:854:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:854:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:854:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:859:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 859 | pc->month = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (20) out-of-bounds read from byte -156 till byte -149 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:859:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:859:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' here | gl/parse-datetime.y:859:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (50) out-of-bounds read from byte -156 till byte -149 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:859:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:859:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' here | gl/parse-datetime.y:865:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 865 | pc->day = $1.value; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:865:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:865:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:865:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:865:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:865:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:870:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 870 | pc->day = $1.value; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:870:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:870:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:870:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:870:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:870:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:881:18: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 881 | pc->year = $1; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (20) out-of-bounds read from byte -104 till byte -89 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:881:18: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:881:18: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' here | gl/parse-datetime.y:881:18: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (50) out-of-bounds read from byte -104 till byte -89 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:881:18: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:881:18: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' here | gl/parse-datetime.y:889:66: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 52:' branch... |...... | 2135 | case 52: /* rel: relunit tAGO */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:889:66: | 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:889:66: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 52:' branch... |...... | 2135 | case 52: /* rel: relunit tAGO */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:889:66: | 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:891:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 53:' branch... |...... | 2141 | case 53: /* rel: relunit */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:891:15: | 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:891:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 53:' branch... |...... | 2141 | case 53: /* rel: relunit */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:891:15: | 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:893:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 54:' branch... |...... | 2147 | case 54: /* rel: dayshift */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:893:15: | 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:893:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 54:' branch... |...... | 2147 | case 54: /* rel: dayshift */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:893:15: | 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:898:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:898:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:898:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:898:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:898:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:898:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:900:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:900:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:900:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:900:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:900:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:900:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:904:70: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:904:70: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:904:70: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:904:70: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:904:70: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:904:70: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:906:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:906:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:906:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:906:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:906:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:906:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:911:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:911:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:911:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:911:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:911:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:911:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:914:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:914:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:914:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:914:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:914:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:914:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:916:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 63:' branch... |...... | 2203 | case 63: /* relunit: tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:916:67: | 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:916:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 63:' branch... |...... | 2203 | case 63: /* relunit: tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:916:67: | 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:918:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:918:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:918:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:918:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:918:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:918:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:920:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:920:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:920:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:920:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:920:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:920:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:924:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:924:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:924:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:924:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:924:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:924:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:926:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:926:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:926:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:926:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:926:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:926:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:930:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:930:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:930:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:930:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:930:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:930:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:932:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:932:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:932:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:932:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:932:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:932:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:934:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:934:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:934:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:934:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:934:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:934:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:936:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:936:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:936:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:936:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:936:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:936:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:944:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:944:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:944:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:944:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:944:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:944:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:946:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:946:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:946:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:946:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:946:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:946:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:949:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:949:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:949:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:949:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:949:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:949:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:951:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:951:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:951:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:951:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:951:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:951:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:953:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:953:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:953:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:953:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:953:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:953:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:955:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:955:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:955:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:955:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:955:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:955:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:960:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 82:' branch... |...... | 2312 | case 82: /* dayshift: tDAY_SHIFT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:960:67: | 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:960:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 82:' branch... |...... | 2312 | case 82: /* dayshift: tDAY_SHIFT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:960:67: | 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:968:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 968 | { if (time_overflow ($1.value)) YYABORT; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 86:' branch... |...... | 2318 | case 86: /* signed_seconds: tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:968:13: | 968 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:968:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 86:' branch... |...... | 2318 | case 86: /* signed_seconds: tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:968:13: | 968 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:975:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 975 | { if (time_overflow ($1.value)) YYABORT; | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 88:' branch... |...... | 2325 | case 88: /* unsigned_seconds: tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:975:13: | 975 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:975:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 88:' branch... |...... | 2325 | case 88: /* unsigned_seconds: tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:975:13: | 975 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:981:9: warning: use of uninitialized value 'yyvsp_231->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 981 | { digits_to_date_time (pc, $1); } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 89:' branch... |...... | 2332 | case 89: /* number: tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:981:9: | 981 | { digits_to_date_time (pc, $1); } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval' here | gl/parse-datetime.y:981:9: warning: use of uninitialized value 'yyvsp_231->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 89:' branch... |...... | 2332 | case 89: /* number: tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:981:9: | 981 | { digits_to_date_time (pc, $1); } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval' here | gl/parse-datetime.y:989:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 989 | digits_to_date_time (pc, $1); | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -37 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:989:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:989:9: warning: use of uninitialized value '_189->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (21) use of uninitialized value '_189->textintval' here | gl/parse-datetime.y:989:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -37 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:989:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:989:9: warning: use of uninitialized value '_189->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 90:' branch... |...... | 2338 | case 90: /* hybrid: tUNUMBER relunit_snumber */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:989:9: | 989 | digits_to_date_time (pc, $1); | | ^ | | | | | (51) use of uninitialized value '_189->textintval' here | gl/parse-datetime.y:998:47: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 998 | { $$ = $2.value; } | ^ 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 92:' branch... |...... | 2355 | case 92: /* o_colon_minutes: ':' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:998:47: | 998 | { $$ = $2.value; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:998:47: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 92:' branch... |...... | 2355 | case 92: /* o_colon_minutes: ':' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:998:47: | 998 | { $$ = $2.value; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval.value' here | i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o cli.o cli.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o benchmark-cipher.o benchmark-cipher.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o benchmark.o benchmark.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o benchmark-tls.o benchmark-tls.c i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o ocsptool-common.o ocsptool-common.c /bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c -o gnutls-cli-options.lo gnutls-cli-options.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I./gl -I./gl -I./../lib/includes -I./../lib/includes -I./../libdane/includes -I./../extra/includes -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -c gnutls-cli-options.c -fPIC -DPIC -o .libs/gnutls-cli-options.o /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o libcmd-cli.la gnutls-cli-options.lo libtool: link: ar cr .libs/libcmd-cli.a .libs/gnutls-cli-options.o libtool: link: ranlib .libs/libcmd-cli.a libtool: link: ( cd ".libs" && rm -f "libcmd-cli.la" && ln -s "../libcmd-cli.la" "libcmd-cli.la" ) /bin/sh ../libtool --tag=CC --mode=link i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o gnutls-cli cli.o common.o socket.o benchmark-cipher.o benchmark.o benchmark-tls.o ocsptool-common.o ../lib/libgnutls.la -lm libcmd-cli.la ../gl/libgnu.la gl/libgnu_gpl.la libtool: link: i586-alt-linux-gcc -fanalyzer -fno-common -Wall -Wbad-function-cast -Wcast-align=strict -Wdate-time -Wdisabled-optimization -Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wextra -Winit-self -Winvalid-pch -Wlogical-op -Wmissing-declarations -Wmissing-include-dirs -Wmissing-prototypes -Wnested-externs -Wnull-dereference -Wold-style-definition -Wopenmp-simd -Wpacked -Wpointer-arith -Wshadow -Wstrict-prototypes -Wsuggest-attribute=cold -Wsuggest-attribute=format -Wsuggest-attribute=malloc -Wsuggest-final-methods -Wsuggest-final-types -Wsync-nand -Wtrampolines -Wuninitialized -Wunknown-pragmas -Wunused-macros -Wvariadic-macros -Wvector-operation-performance -Wwrite-strings -Warray-bounds=2 -Wattribute-alias=2 -Wbidi-chars=any,ucn -Wformat-overflow=2 -Wformat=2 -Wformat-truncation=2 -Wimplicit-fallthrough=5 -Wshift-overflow=2 -Wuse-after-free=3 -Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-analyzer-malloc-leak -Wno-missing-field-initializers -Wno-unused-parameter -Wno-format-truncation -Wimplicit-fallthrough=2 -Wabi=11 -fdiagnostics-show-option -fno-builtin-strcmp -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o .libs/gnutls-cli cli.o common.o socket.o benchmark-cipher.o benchmark.o benchmark-tls.o ocsptool-common.o ../lib/.libs/libgnutls.so -lm ./.libs/libcmd-cli.a ../gl/.libs/libgnu.a gl/.libs/libgnu_gpl.a gl/parse-datetime.c: In function 'yyparse': gl/parse-datetime.c:1715:12: warning: use of uninitialized value 'yylval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1715 | *++yyvsp = yylval; | ^ 'parse_datetime_body': events 1-8 | |gl/parse-datetime.y:1708:1: | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1510 | YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default); | | ~ | | | | | (10) region created on stack here | | (11) capacity: 52 bytes |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (12) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (14) following 'false' branch (when 'yystate_221 != 12')... | | (13) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (15) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (16) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (18) following 'true' branch (when 'yychar_208 == -2')... | | (17) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (19) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (20) calling 'yylex' from 'yyparse' | +--> 'yylex': events 21-22 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (21) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (22) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 23-24 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (23) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (24) ...to here | <-------------+ | 'yyparse': events 25-32 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (25) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (26) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (27) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (28) following 'false' branch (when 'yyn_258 > 0')... |...... | 1708 | if (yyerrstatus) | | ~ ~ | | | | | | | (30) following 'false' branch (when 'yyerrstatus_224 == 0')... | | (29) ...to here |...... | 1712 | YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); | | ~ | | | | | (31) ...to here |...... | 1715 | *++yyvsp = yylval; | | ~ | | | | | (32) use of uninitialized value 'yylval' here | gl/parse-datetime.c:1715:12: warning: use of uninitialized value 'yylval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1715 | *++yyvsp = yylval; | ^ 'parse_datetime': events 1-2 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1510 | YYSTYPE yylval YY_INITIAL_VALUE (= yyval_default); | | ~ | | | | | (40) region created on stack here | | (41) capacity: 52 bytes |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (42) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (44) following 'false' branch (when 'yystate_221 != 12')... | | (43) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (45) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (46) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (48) following 'true' branch (when 'yychar_208 == -2')... | | (47) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (49) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (50) calling 'yylex' from 'yyparse' | +--> 'yylex': events 51-52 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (51) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (52) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 53-54 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (53) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (54) ...to here | <-------------+ | 'yyparse': events 55-62 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (55) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (56) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (57) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (58) following 'false' branch (when 'yyn_258 > 0')... |...... | 1708 | if (yyerrstatus) | | ~ ~ | | | | | | | (60) following 'false' branch (when 'yyerrstatus_224 == 0')... | | (59) ...to here |...... | 1712 | YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc); | | ~ | | | | | (61) ...to here |...... | 1715 | *++yyvsp = yylval; | | ~ | | | | | (62) use of uninitialized value 'yylval' here | gl/parse-datetime.c:1748:9: warning: use of uninitialized value '*_15' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1748 | yyval = yyvsp[1-yylen]; | ^ 'yyparse': events 1-14 | | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (10) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (11) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (12) following 'true' branch (when 'yyn_258 <= 0')... | 1699 | { | 1700 | if (yytable_value_is_error (yyn)) | | ~ | | | | | (13) ...to here |...... | 1748 | yyval = yyvsp[1-yylen]; | | ~ | | | | | (14) use of uninitialized value '*_15' here | gl/parse-datetime.c:1748:9: warning: use of uninitialized value '*_15' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1748 | yyval = yyvsp[1-yylen]; | ^ 'parse_datetime_body': events 1-8 | |gl/parse-datetime.y:1708:1: | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (17) following 'true' branch (when 'yychar_208 == -2')... | | (16) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (18) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (19) calling 'yylex' from 'yyparse' | +--> 'yylex': events 20-21 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (20) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (21) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 22-23 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (22) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (23) ...to here | <-------------+ | 'yyparse': events 24-29 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (24) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (25) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (26) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (27) following 'true' branch (when 'yyn_258 <= 0')... | 1699 | { | 1700 | if (yytable_value_is_error (yyn)) | | ~ | | | | | (28) ...to here |...... | 1748 | yyval = yyvsp[1-yylen]; | | ~ | | | | | (29) use of uninitialized value '*_15' here | gl/parse-datetime.c:1748:9: warning: use of uninitialized value '*_15' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 1748 | yyval = yyvsp[1-yylen]; | ^ 'parse_datetime': events 1-2 | |gl/parse-datetime.y:2392:1: | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (47) following 'true' branch (when 'yychar_208 == -2')... | | (46) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (48) ...to here | 1667 | yychar = yylex (&yylval, pc); | | ~ | | | | | (49) calling 'yylex' from 'yyparse' | +--> 'yylex': events 50-51 | |gl/parse-datetime.y:1411:1: | 1411 | yylex (union YYSTYPE *lvalp, parser_control *pc) | | ^ | | | | | (50) entry to 'yylex' |...... | 1498 | if (c_isalpha (c)) | | ~ | | | | | (51) inlined call to 'c_isalpha' from 'yylex' | +--> 'c_isalpha': events 52-53 | |gl/./c-ctype.h:183:3: | 183 | switch (c) | | ^ | | | | | (52) following 'default:' branch... |...... | 189 | return false; | | ~ | | | | | (53) ...to here | <-------------+ | 'yyparse': events 54-59 | |gl/parse-datetime.c:1667:16: | 1667 | yychar = yylex (&yylval, pc); | | ^ | | | | | (54) returning to 'yyparse' from 'yylex' |...... | 1695 | if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken) | | ~ | | | | | (55) following 'false' branch... | 1696 | goto yydefault; | 1697 | yyn = yytable[yyn]; | | ~ | | | | | (56) ...to here | 1698 | if (yyn <= 0) | | ~ | | | | | (57) following 'true' branch (when 'yyn_258 <= 0')... | 1699 | { | 1700 | if (yytable_value_is_error (yyn)) | | ~ | | | | | (58) ...to here |...... | 1748 | yyval = yyvsp[1-yylen]; | | ~ | | | | | (59) use of uninitialized value '*_15' here | gl/parse-datetime.y:600:21: warning: use of uninitialized value 'yyvsp_231->timespec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 600 | pc->seconds = $2; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 4:' branch... | 1753 | { | 1754 | case 4: /* timespec: '@' seconds */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:600:21: | 600 | pc->seconds = $2; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->timespec' here | gl/parse-datetime.y:600:21: warning: use of uninitialized value 'yyvsp_231->timespec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 4:' branch... | 1753 | { | 1754 | case 4: /* timespec: '@' seconds */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:600:21: | 600 | pc->seconds = $2; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->timespec' here | gl/parse-datetime.y:600:21: warning: use of uninitialized value 'yyvsp_231->timespec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 4:' branch... | 1753 | { | 1754 | case 4: /* timespec: '@' seconds */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:600:21: | 600 | pc->seconds = $2; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->timespec' here | gl/parse-datetime.y:672:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:672:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:672:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:672:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:672:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:672:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:672:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:672:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:672:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:672:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 19:' branch... |...... | 1851 | case 19: /* time: tUNUMBER tMERIDIAN */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:672:9: | 672 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:677:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:677:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:677:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:677:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:677:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:677:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:677:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:677:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:677:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:677:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 20:' branch... |...... | 1860 | case 20: /* time: tUNUMBER ':' tUNUMBER tMERIDIAN */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:677:9: | 677 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:682:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:682:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:682:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:682:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:682:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:682:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:682:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:682:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:682:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:682:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 21:' branch... |...... | 1869 | case 21: /* time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds tMERIDIAN */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:682:134: | 682 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:691:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:691:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:691:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:691:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:691:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:691:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:691:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:691:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:691:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:691:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 23:' branch... |...... | 1878 | case 23: /* iso_8601_time: tUNUMBER zone_offset */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:691:9: | 691 | set_hhmmss (pc, $1.value, 0, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:696:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:696:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:696:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:696:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:696:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:696:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:696:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:696:9: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:696:9: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:696:9: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 24:' branch... |...... | 1887 | case 24: /* iso_8601_time: tUNUMBER ':' tUNUMBER o_zone_offset */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:696:9: | 696 | set_hhmmss (pc, $1.value, $3.value, 0, 0); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:701:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:701:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:701:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:701:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:701:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:701:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:701:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:701:134: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:701:134: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:701:134: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 25:' branch... |...... | 1896 | case 25: /* iso_8601_time: tUNUMBER ':' tUNUMBER ':' unsigned_seconds o_zone_offset */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:701:134: | 701 | set_hhmmss (pc, $1.value, $3.value, $5.tv_sec, $5.tv_nsec); | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_nsec' here | gl/parse-datetime.y:715:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 28:' branch... |...... | 1905 | case 28: /* zone_offset: tSNUMBER o_colon_minutes */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:715:15: | 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:715:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 28:' branch... |...... | 1905 | case 28: /* zone_offset: tSNUMBER o_colon_minutes */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:715:15: | 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:715:15: warning: use of uninitialized value '_64->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 28:' branch... |...... | 1905 | case 28: /* zone_offset: tSNUMBER o_colon_minutes */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:715:15: | 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | | ^ | | | | | (28) use of uninitialized value '_64->textintval' here | gl/parse-datetime.y:715:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 28:' branch... |...... | 1905 | case 28: /* zone_offset: tSNUMBER o_colon_minutes */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:715:15: | 715 | if (! time_zone_hhmm (pc, $1, $2)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:738:36: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 738 | { pc->local_isdst = $1; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 29:' branch... |...... | 1914 | case 29: /* local_zone: tLOCAL_ZONE */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:738:36: | 738 | { pc->local_isdst = $1; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:738:36: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 29:' branch... |...... | 1914 | case 29: /* local_zone: tLOCAL_ZONE */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:738:36: | 738 | { pc->local_isdst = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:738:36: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 29:' branch... |...... | 1914 | case 29: /* local_zone: tLOCAL_ZONE */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:738:36: | 738 | { pc->local_isdst = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:750:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 750 | { pc->time_zone = $1; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 31:' branch... |...... | 1929 | case 31: /* zone: tZONE */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:750:34: | 750 | { pc->time_zone = $1; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:750:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 31:' branch... |...... | 1929 | case 31: /* zone: tZONE */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:750:34: | 750 | { pc->time_zone = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:750:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 31:' branch... |...... | 1929 | case 31: /* zone: tZONE */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:750:34: | 750 | { pc->time_zone = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:754:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 754 | { pc->time_zone = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:754:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:754:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:754:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:754:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:754:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:754:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:754:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:754:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:754:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 33:' branch... |...... | 1941 | case 33: /* zone: tZONE relunit_snumber */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:754:35: | 754 | { pc->time_zone = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:760:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 34:' branch... |...... | 1950 | case 34: /* zone: 'T' relunit_snumber */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:760:15: | 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:760:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 34:' branch... |...... | 1950 | case 34: /* zone: 'T' relunit_snumber */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:760:15: | 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:760:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 34:' branch... |...... | 1950 | case 34: /* zone: 'T' relunit_snumber */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:760:15: | 760 | if (! apply_relative_time (pc, $2, 1)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:764:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 35:' branch... |...... | 1959 | case 35: /* zone: tZONE tSNUMBER o_colon_minutes */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:764:15: | 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:764:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 35:' branch... |...... | 1959 | case 35: /* zone: tZONE tSNUMBER o_colon_minutes */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:764:15: | 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:764:15: warning: use of uninitialized value '_77->textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 35:' branch... |...... | 1959 | case 35: /* zone: tZONE tSNUMBER o_colon_minutes */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:764:15: | 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | | ^ | | | | | (28) use of uninitialized value '_77->textintval' here | gl/parse-datetime.y:764:15: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 35:' branch... |...... | 1959 | case 35: /* zone: tZONE tSNUMBER o_colon_minutes */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:764:15: | 764 | { if (! time_zone_hhmm (pc, $2, $3)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:767:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 767 | { pc->time_zone = $1 + 60 * 60; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 36:' branch... |...... | 1966 | case 36: /* zone: tDAYZONE */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:767:34: | 767 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:767:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 36:' branch... |...... | 1966 | case 36: /* zone: tDAYZONE */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:767:34: | 767 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:767:34: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 36:' branch... |...... | 1966 | case 36: /* zone: tDAYZONE */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:767:34: | 767 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:769:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 769 | { pc->time_zone = $1 + 60 * 60; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:769:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:769:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:769:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:769:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:769:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:769:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:769:35: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:769:35: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:769:35: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 37:' branch... |...... | 1972 | case 37: /* zone: tZONE tDST */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:769:35: | 769 | { pc->time_zone = $1 + 60 * 60; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:776:35: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 776 | pc->day_number = $1; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 38:' branch... |...... | 1978 | case 38: /* day: tDAY */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:776:35: | 776 | pc->day_number = $1; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:776:35: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 38:' branch... |...... | 1978 | case 38: /* day: tDAY */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:776:35: | 776 | pc->day_number = $1; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:776:35: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 38:' branch... |...... | 1978 | case 38: /* day: tDAY */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:776:35: | 776 | pc->day_number = $1; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:781:36: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 781 | pc->day_number = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:781:36: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:781:36: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:781:36: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:781:36: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:781:36: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:781:36: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:781:36: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:781:36: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:781:36: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 39:' branch... |...... | 1987 | case 39: /* day: tDAY ',' */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:781:36: | 781 | pc->day_number = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:785:37: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 785 | pc->day_ordinal = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:785:37: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:785:37: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:785:37: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:785:37: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:785:37: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:785:37: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:785:37: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:785:37: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:785:37: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 40:' branch... |...... | 1996 | case 40: /* day: tORDINAL tDAY */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:785:37: | 785 | pc->day_ordinal = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:791:49: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 791 | pc->day_ordinal = $1.value; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:791:49: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:791:49: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:791:49: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:791:49: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:791:49: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:791:49: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:791:49: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:791:49: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:791:49: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 41:' branch... |...... | 2006 | case 41: /* day: tUNUMBER tDAY */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:791:49: | 791 | pc->day_ordinal = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:800:43: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 800 | pc->month = $1.value; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (9) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:800:43: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:800:43: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:800:43: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:800:43: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:800:43: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:800:43: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (27) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:800:43: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:800:43: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:800:43: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:800:43: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:800:43: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 42:' branch... |...... | 2016 | case 42: /* date: tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:800:43: | 800 | pc->month = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:810:40: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 810 | if (4 <= $1.digits) | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (9) out-of-bounds read from byte -196 till byte -193 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:810:40: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:810:40: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' here | gl/parse-datetime.y:810:40: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (20) out-of-bounds read from byte -196 till byte -193 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:810:40: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:810:40: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' here | gl/parse-datetime.y:810:40: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (27) out-of-bounds read from byte -144 till byte -141 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:810:40: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:810:40: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' here | gl/parse-datetime.y:810:40: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (50) out-of-bounds read from byte -196 till byte -193 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:810:40: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:810:40: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 43:' branch... |...... | 2025 | case 43: /* date: tUNUMBER '/' tUNUMBER '/' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:810:40: | 810 | if (4 <= $1.digits) | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967088B].textintval.digits' here | gl/parse-datetime.y:839:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 839 | pc->day = $1.value; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (9) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:839:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:839:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:839:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:839:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:839:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:839:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (27) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:839:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:839:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:839:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:839:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:839:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 44:' branch... |...... | 2062 | case 44: /* date: tUNUMBER tMONTH tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:839:41: | 839 | pc->day = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:847:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 847 | pc->month = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (9) out-of-bounds read from byte -104 till byte -97 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:847:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:847:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' here | gl/parse-datetime.y:847:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (20) out-of-bounds read from byte -104 till byte -97 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:847:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:847:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' here | gl/parse-datetime.y:847:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (27) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:847:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:847:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' here | gl/parse-datetime.y:847:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (50) out-of-bounds read from byte -104 till byte -97 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:847:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:847:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 45:' branch... |...... | 2074 | case 45: /* date: tMONTH tSNUMBER tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:847:31: | 847 | pc->month = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].intval' here | gl/parse-datetime.y:854:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 854 | pc->month = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:854:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:854:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:854:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:854:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:854:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:854:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:854:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:854:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:854:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 46:' branch... |...... | 2086 | case 46: /* date: tMONTH tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:854:31: | 854 | pc->month = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:859:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 859 | pc->month = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (9) out-of-bounds read from byte -156 till byte -149 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:859:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:859:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' here | gl/parse-datetime.y:859:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (20) out-of-bounds read from byte -156 till byte -149 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:859:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:859:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' here | gl/parse-datetime.y:859:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (27) out-of-bounds read from byte -104 till byte -97 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:859:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:859:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' here | gl/parse-datetime.y:859:31: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (50) out-of-bounds read from byte -156 till byte -149 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:859:31: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:859:31: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 47:' branch... |...... | 2095 | case 47: /* date: tMONTH tUNUMBER ',' tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:859:31: | 859 | pc->month = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967140B].intval' here | gl/parse-datetime.y:865:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 865 | pc->day = $1.value; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:865:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:865:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:865:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:865:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:865:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:865:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:865:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:865:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:865:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 48:' branch... |...... | 2105 | case 48: /* date: tUNUMBER tMONTH */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:865:41: | 865 | pc->day = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:870:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 870 | pc->day = $1.value; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (9) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:870:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:870:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:870:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (20) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:870:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:870:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:870:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (27) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:870:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:870:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:870:41: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (50) out-of-bounds read from byte -100 till byte -93 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:870:41: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:870:41: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 49:' branch... |...... | 2114 | case 49: /* date: tUNUMBER tMONTH tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:870:41: | 870 | pc->day = $1.value; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval.value' here | gl/parse-datetime.y:881:18: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 881 | pc->year = $1; | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (9) out-of-bounds read from byte -104 till byte -89 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:881:18: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:881:18: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' here | gl/parse-datetime.y:881:18: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (20) out-of-bounds read from byte -104 till byte -89 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:881:18: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:881:18: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' here | gl/parse-datetime.y:881:18: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'yyparse': events 1-26 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... | | (19) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | | (21) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here | | (20) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here | | (22) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (5) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (7) following 'true' branch (when 'yychar_208 == -2')... | | (6) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (8) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (9) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (11) following 'true' branch (when 'yychar_209 == 256')... | | (10) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (12) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (23) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (24) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (25) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (26) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (13) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (14) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (15) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (16) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (17) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (18) ...to here | 'yyparse': event 27 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (27) out-of-bounds read from byte -52 till byte -37 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:881:18: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:881:18: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' here | gl/parse-datetime.y:881:18: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (50) out-of-bounds read from byte -104 till byte -89 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:881:18: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:881:18: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 51:' branch... |...... | 2124 | case 51: /* iso_8601_date: tUNUMBER tSNUMBER tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:881:18: | 881 | pc->year = $1; | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967192B].textintval' here | gl/parse-datetime.y:889:15: warning: use of uninitialized value '_143->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | ^ 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 52:' branch... |...... | 2135 | case 52: /* rel: relunit tAGO */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:889:15: | 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | | ^ | | | | | (28) use of uninitialized value '_143->rel' here | gl/parse-datetime.y:889:66: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 52:' branch... |...... | 2135 | case 52: /* rel: relunit tAGO */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:889:66: | 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:889:66: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 52:' branch... |...... | 2135 | case 52: /* rel: relunit tAGO */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:889:66: | 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:889:66: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 52:' branch... |...... | 2135 | case 52: /* rel: relunit tAGO */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:889:66: | 889 | { if (! apply_relative_time (pc, $1, $2)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:891:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 53:' branch... |...... | 2141 | case 53: /* rel: relunit */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:891:15: | 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:891:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 53:' branch... |...... | 2141 | case 53: /* rel: relunit */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:891:15: | 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:891:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 53:' branch... |...... | 2141 | case 53: /* rel: relunit */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:891:15: | 891 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:893:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 54:' branch... |...... | 2147 | case 54: /* rel: dayshift */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:893:15: | 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:893:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 54:' branch... |...... | 2147 | case 54: /* rel: dayshift */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:893:15: | 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:893:15: warning: use of uninitialized value 'yyvsp_231->rel' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 54:' branch... |...... | 2147 | case 54: /* rel: dayshift */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:893:15: | 893 | { if (! apply_relative_time (pc, $1, 1)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->rel' here | gl/parse-datetime.y:898:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:898:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:898:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:898:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:898:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:898:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:898:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:898:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:898:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:898:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 55:' branch... |...... | 2153 | case 55: /* relunit: tORDINAL tYEAR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:898:69: | 898 | { $$ = RELATIVE_TIME_0; $$.year = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:900:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:900:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:900:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:900:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:900:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:900:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:900:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:900:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:900:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:900:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 56:' branch... |...... | 2159 | case 56: /* relunit: tUNUMBER tYEAR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:900:81: | 900 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:904:70: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:904:70: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:904:70: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:904:70: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:904:70: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:904:70: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:904:70: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:904:70: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:904:70: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:904:70: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 58:' branch... |...... | 2171 | case 58: /* relunit: tORDINAL tMONTH_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:904:70: | 904 | { $$ = RELATIVE_TIME_0; $$.month = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:906:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:906:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:906:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:906:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:906:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:906:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:906:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:906:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:906:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:906:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 59:' branch... |...... | 2177 | case 59: /* relunit: tUNUMBER tMONTH_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:906:82: | 906 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:911:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:911:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:911:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:911:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:911:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:911:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:911:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:911:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:911:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:911:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 61:' branch... |...... | 2189 | case 61: /* relunit: tORDINAL tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:911:13: | 911 | if (INT_MULTIPLY_WRAPV ($1, $2, &$$.day)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:914:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:914:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:914:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:914:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:914:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:914:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:914:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:914:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:914:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:914:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 62:' branch... |...... | 2196 | case 62: /* relunit: tUNUMBER tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:914:13: | 914 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:916:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 63:' branch... |...... | 2203 | case 63: /* relunit: tDAY_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:916:67: | 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:916:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 63:' branch... |...... | 2203 | case 63: /* relunit: tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:916:67: | 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:916:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 63:' branch... |...... | 2203 | case 63: /* relunit: tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:916:67: | 916 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:918:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:918:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:918:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:918:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:918:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:918:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:918:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:918:69: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:918:69: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:918:69: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 64:' branch... |...... | 2209 | case 64: /* relunit: tORDINAL tHOUR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:918:69: | 918 | { $$ = RELATIVE_TIME_0; $$.hour = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:920:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:920:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:920:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:920:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:920:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:920:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:920:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:920:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:920:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:920:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 65:' branch... |...... | 2215 | case 65: /* relunit: tUNUMBER tHOUR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:920:81: | 920 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:924:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:924:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:924:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:924:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:924:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:924:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:924:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:924:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:924:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:924:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 67:' branch... |...... | 2227 | case 67: /* relunit: tORDINAL tMINUTE_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:924:72: | 924 | { $$ = RELATIVE_TIME_0; $$.minutes = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:926:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:926:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:926:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:926:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:926:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:926:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:926:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:926:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:926:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:926:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 68:' branch... |...... | 2233 | case 68: /* relunit: tUNUMBER tMINUTE_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:926:84: | 926 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:930:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:930:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:930:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:930:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:930:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:930:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:930:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:930:72: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -45 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:930:72: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:930:72: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 70:' branch... |...... | 2245 | case 70: /* relunit: tORDINAL tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:930:72: | 930 | { $$ = RELATIVE_TIME_0; $$.seconds = $1; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].intval' here | gl/parse-datetime.y:932:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:932:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:932:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:932:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:932:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:932:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:932:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:932:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:932:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:932:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 71:' branch... |...... | 2251 | case 71: /* relunit: tUNUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:932:84: | 932 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:934:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:934:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:934:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:934:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:934:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:934:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:934:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:934:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:934:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:934:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 72:' branch... |...... | 2257 | case 72: /* relunit: tSDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:934:82: | 934 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:936:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (9) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:936:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:936:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:936:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (20) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:936:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:936:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:936:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:936:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (50) out-of-bounds read from byte -52 till byte -49 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:936:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:936:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 73:' branch... |...... | 2263 | case 73: /* relunit: tUDECIMAL_NUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:936:82: | 936 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.tv_sec; $$.ns = $1.tv_nsec; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].timespec.tv_sec' here | gl/parse-datetime.y:944:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:944:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:944:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:944:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:944:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:944:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:944:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:944:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:944:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:944:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 76:' branch... |...... | 2275 | case 76: /* relunit_snumber: tSNUMBER tYEAR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:944:81: | 944 | { $$ = RELATIVE_TIME_0; $$.year = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:946:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:946:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:946:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:946:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:946:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:946:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:946:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:946:82: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:946:82: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:946:82: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 77:' branch... |...... | 2281 | case 77: /* relunit_snumber: tSNUMBER tMONTH_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:946:82: | 946 | { $$ = RELATIVE_TIME_0; $$.month = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:949:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:949:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:949:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:949:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:949:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:949:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:949:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:949:13: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:949:13: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:949:13: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 78:' branch... |...... | 2287 | case 78: /* relunit_snumber: tSNUMBER tDAY_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:949:13: | 949 | if (INT_MULTIPLY_WRAPV ($1.value, $2, &$$.day)) YYABORT; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:951:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:951:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:951:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:951:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:951:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:951:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:951:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:951:81: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:951:81: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:951:81: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 79:' branch... |...... | 2294 | case 79: /* relunit_snumber: tSNUMBER tHOUR_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:951:81: | 951 | { $$ = RELATIVE_TIME_0; $$.hour = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:953:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:953:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:953:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:953:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:953:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:953:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:953:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:953:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:953:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:953:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 80:' branch... |...... | 2300 | case 80: /* relunit_snumber: tSNUMBER tMINUTE_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:953:84: | 953 | { $$ = RELATIVE_TIME_0; $$.minutes = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:955:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | ^ 'yyparse': events 1-8 | |gl/parse-datetime.c:1579:6: | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ^ | | | | | (1) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (3) following 'false' branch (when 'yystate_221 != 12')... | | (2) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (4) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (5) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (6) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (7) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (8) ...to here | 'yyparse': event 9 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (9) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:955:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:955:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (10) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:955:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-19 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (10) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (12) following 'false' branch (when 'yystate_221 != 12')... | | (11) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (13) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (15) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (16) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (17) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (18) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (19) ...to here | 'yyparse': event 20 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (20) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:955:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:955:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (21) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:955:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'yyparse': events 1-27 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... | | (20) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | | (22) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here | | (21) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here | | (23) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (6) following 'false' branch (when 'yyn_253 != -91')... |...... | 1664 | if (yychar == YYEMPTY) | | ~ ~ | | | | | | | (8) following 'true' branch (when 'yychar_208 == -2')... | | (7) ...to here | 1665 | { | 1666 | YYDPRINTF ((stderr, "Reading a token\n")); | | ~ | | | | | (9) ...to here |...... | 1670 | if (yychar <= YYEOF) | | ~ | | | | | (10) following 'false' branch (when 'yychar_209 > 0')... |...... | 1676 | else if (yychar == YYerror) | | ~ ~ | | | | | | | (12) following 'true' branch (when 'yychar_209 == 256')... | | (11) ...to here |...... | 1682 | yychar = YYUNDEF; | | ~ | | | | | (13) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (24) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (25) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (26) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (27) ...to here |...... | 2465 | if (!yypact_value_is_default (yyn)) | | ~ | | | | | (14) following 'true' branch (when 'yyn_430 != -91')... | 2466 | { | 2467 | yyn += YYSYMBOL_YYerror; | | ~ | | | | | (15) ...to here | 2468 | if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYSYMBOL_YYerror) | | ~ | | | | | (16) following 'true' branch... | 2469 | { | 2470 | yyn = yytable[yyn]; | | ~ | | | | | (17) ...to here | 2471 | if (0 < yyn) | | ~ | | | | | (18) following 'true' branch (when 'yyn_432 > 0')... |...... | 2489 | *++yyvsp = yylval; | | ~ | | | | | (19) ...to here | 'yyparse': event 28 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (28) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:955:84: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-49 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (40) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (42) following 'false' branch (when 'yystate_221 != 12')... | | (41) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (43) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (44) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (45) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (46) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (47) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (48) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (49) ...to here | 'yyparse': event 50 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (50) out-of-bounds read from byte -48 till byte -41 but 'yyvsa' starts at byte 0 | gl/parse-datetime.y:955:84: note: valid subscripts for 'yyvsa' are '[0]' to '[19]' gl/parse-datetime.y:955:84: warning: use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 81:' branch... |...... | 2306 | case 81: /* relunit_snumber: tSNUMBER tSEC_UNIT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:955:84: | 955 | { $$ = RELATIVE_TIME_0; $$.seconds = $1.value; } | | ^ | | | | | (51) use of uninitialized value 'MEM[(union YYSTYPE *)yyvsp_231 + 4294967244B].textintval.value' here | gl/parse-datetime.y:960:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 82:' branch... |...... | 2312 | case 82: /* dayshift: tDAY_SHIFT */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:960:67: | 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:960:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 82:' branch... |...... | 2312 | case 82: /* dayshift: tDAY_SHIFT */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:960:67: | 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:960:67: warning: use of uninitialized value 'yyvsp_231->intval' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 82:' branch... |...... | 2312 | case 82: /* dayshift: tDAY_SHIFT */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:960:67: | 960 | { $$ = RELATIVE_TIME_0; $$.day = $1; } | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->intval' here | gl/parse-datetime.y:968:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 968 | { if (time_overflow ($1.value)) YYABORT; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 86:' branch... |...... | 2318 | case 86: /* signed_seconds: tSNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:968:13: | 968 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:968:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 86:' branch... |...... | 2318 | case 86: /* signed_seconds: tSNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:968:13: | 968 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:968:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 86:' branch... |...... | 2318 | case 86: /* signed_seconds: tSNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:968:13: | 968 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:975:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 975 | { if (time_overflow ($1.value)) YYABORT; | ^ 'yyparse': events 1-9 | |gl/parse-datetime.c:1531:13: | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ^ | | | | | (1) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (2) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (4) following 'false' branch (when 'yystate_221 != 12')... | | (3) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (5) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (6) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (7) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (8) following 'case 88:' branch... |...... | 2325 | case 88: /* unsigned_seconds: tUNUMBER */ | | ~ | | | | | (9) ...to here | 'yyparse': event 10 | |gl/parse-datetime.y:975:13: | 975 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (10) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:975:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime_body': events 1-8 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (2) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (3) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (4) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (5) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (6) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (7) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (8) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 9-20 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (9) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (10) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (11) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (13) following 'false' branch (when 'yystate_221 != 12')... | | (12) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (14) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (15) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (16) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (17) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (18) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (19) following 'case 88:' branch... |...... | 2325 | case 88: /* unsigned_seconds: tUNUMBER */ | | ~ | | | | | (20) ...to here | 'yyparse': event 21 | |gl/parse-datetime.y:975:13: | 975 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (21) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:975:13: warning: use of uninitialized value 'yyvsp_231->textintval.value' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] 'parse_datetime': events 1-2 | | 2392 | parse_datetime (struct timespec *result, char const *p, | | ^ | | | | | (1) entry to 'parse_datetime' |...... | 2396 | timezone_t tz = tzalloc (tzstring); | | ~ | | | | | (2) calling 'tzalloc' from 'parse_datetime' | +--> 'tzalloc': event 3 | |gl/./time.h:890:1: | 890 | _GL_FUNCDECL_SYS (tzalloc, timezone_t, (char const *__name)); | | ^ | | | | | (3) entry to 'tzalloc' | 'tzalloc': events 4-7 | |gl/time_rz.c:70:6: | 70 | if (tz) | | ^ | | | | | (4) following 'true' branch (when 'tz_14' is non-NULL)... | 71 | { | 72 | tz->next = NULL; | | ~ | | | | | (5) ...to here |...... | 78 | if (name) | | ~ | | | | | (6) following 'false' branch (when 'name_10(D)' is NULL)... |...... | 81 | return tz; | | ~ | | | | | (7) ...to here | <------+ | 'parse_datetime': events 8-11 | |gl/parse-datetime.y:2396:19: | 2396 | timezone_t tz = tzalloc (tzstring); | | ^ | | | | | (8) returning to 'parse_datetime' from 'tzalloc' | 2397 | if (!tz) | | ~ | | | | | (9) following 'false' branch (when 'tz_7' is non-NULL)... | 2398 | return false; | 2399 | bool ok = parse_datetime_body (result, p, now, 0, tz, tzstring); | | ~ ~ | | | | | | | (11) calling 'parse_datetime_body' from 'parse_datetime' | | (10) ...to here | +--> 'parse_datetime_body': events 12-13 | | 1708 | parse_datetime_body (struct timespec *result, char const *p, | | ^ | | | | | (12) entry to 'parse_datetime_body' |...... | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ | | | | | (13) calling 'localtime_rz' from 'parse_datetime_body' | +--> 'localtime_rz': event 14 | |gl/./time.h:904:1: | 904 | _GL_FUNCDECL_SYS (localtime_rz, struct tm *, | | ^ | | | | | (14) entry to 'localtime_rz' | 'localtime_rz': events 15-17 | |gl/time_rz.c:268:6: | 268 | if (!tz) | | ^ | | | | | (15) following 'false' branch (when 'tz_8(D)' is non-NULL)... |...... | 272 | timezone_t old_tz = set_tz (tz); | | ~ ~ | | | | | | (16) ...to here (17) calling 'set_tz' from 'localtime_rz' | +--> 'set_tz': events 18-19 | | 206 | set_tz (timezone_t tz) | | ^ | | | | | (18) entry to 'set_tz' |...... | 209 | if (env_tz | | ~ | | | | | (19) following 'true' branch... | 'set_tz': event 20 | |lto1: | (20): ...to here | <------+ | 'localtime_rz': events 21-26 | | 272 | timezone_t old_tz = set_tz (tz); | | ^ | | | | | (21) returning to 'localtime_rz' from 'set_tz' | 273 | if (old_tz) | | ~ | | | | | (22) following 'true' branch (when 'old_tz_11' is non-NULL)... | 274 | { | 275 | bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm); | | ~ ~ ~ | | | | | | | | (25) ...to here (24) following 'true' branch... | | (23) ...to here | 276 | if (revert_tz (old_tz) && abbr_saved) | | ~ | | | | | (26) inlined call to 'revert_tz' from 'localtime_rz' | +--> 'revert_tz': event 27 | | 235 | if (tz == local_tz) | | ^ | | | | | (27) following 'true' branch (when 'old_tz_11 == 1B')... | <------+ | 'localtime_rz': events 28-29 | | 276 | if (revert_tz (old_tz) && abbr_saved) | | ^ ~ | | | | | | (28) ...to here (29) following 'true' branch... | 'localtime_rz': event 30 | |lto1: | (30): ...to here | <------+ | 'parse_datetime_body': events 31-38 | |gl/parse-datetime.y:1790:9: | 1790 | if (! localtime_rz (tz, &now->tv_sec, &tmp)) | | ~ ^ | | | | | | | (31) returning to 'parse_datetime_body' from 'localtime_rz' | | (32) following 'false' branch... |...... | 1796 | if (*p == '\0') | | ~ | | | | | (33) ...to here |...... | 1804 | if (INT_ADD_WRAPV (tmp.tm_year, TM_YEAR_BASE, &pc.year.value)) | | ~ | | | | | (34) following 'false' branch... |...... | 1810 | pc.year.digits = 0; | | ~ | | | | | (35) ...to here |...... | 1849 | for (quarter = 1; quarter <= 3; quarter++) | | ~ | | | | | (36) following 'true' branch (when 'quarter_194 != 4')... | 1850 | { | 1851 | time_t probe; | | ~ | | | | | (37) ...to here |...... | 1899 | if (yyparse (&pc) != 0) | | ~ | | | | | (38) calling 'yyparse' from 'parse_datetime_body' | +--> 'yyparse': events 39-50 | |gl/parse-datetime.c:1500:1: | 1500 | yyparse (parser_control *pc) | | ^ | | | | | (39) entry to 'yyparse' |...... | 1531 | YYSTYPE yyvsa[YYINITDEPTH]; | | ~ | | | | | (40) region created on stack here |...... | 1579 | if (yyss + yystacksize - 1 <= yyssp) | | ~ | | | | | (41) following 'false' branch... |...... | 1643 | if (yystate == YYFINAL) | | ~ ~ | | | | | | | (43) following 'false' branch (when 'yystate_221 != 12')... | | (42) ...to here |...... | 1646 | goto yybackup; | | ~ | | | | | (44) ...to here |...... | 1658 | if (yypact_value_is_default (yyn)) | | ~ | | | | | (45) following 'true' branch (when 'yyn_253 == -91')... | 1659 | goto yydefault; | | ~ | | | | | (46) ...to here |...... | 1728 | if (yyn == 0) | | ~ | | | | | (47) following 'false' branch (when 'yyn_263 != 0')... | 1729 | goto yyerrlab; | 1730 | goto yyreduce; | | ~ | | | | | (48) ...to here |...... | 1752 | switch (yyn) | | ~ | | | | | (49) following 'case 88:' branch... |...... | 2325 | case 88: /* unsigned_seconds: tUNUMBER */ | | ~ | | | | | (50) ...to here | 'yyparse': event 51 | |gl/parse-datetime.y:975:13: | 975 | { if (time_overflow ($1.value)) YYABORT; | | ^ | | | | | (51) use of uninitialized value 'yyvsp_231->textintval.value' here | gl/parse-datetime.y:981:9: warning: use of uninitialized value 'yyvsp_231->